Fix fcntl include in net.cpp & netbase.cpp
This commit is contained in:
parent
b34255b758
commit
98148a713e
2 changed files with 5 additions and 1 deletions
|
@ -15,6 +15,10 @@
|
|||
#include <string.h>
|
||||
#endif
|
||||
|
||||
#ifndef WIN32
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
#ifdef USE_UPNP
|
||||
#include <miniupnpc/miniwget.h>
|
||||
#include <miniupnpc/miniupnpc.h>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include "hash.h"
|
||||
|
||||
#ifndef WIN32
|
||||
#include <sys/fcntl.h>
|
||||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
#include <boost/algorithm/string/case_conv.hpp> // for to_lower()
|
||||
|
|
Loading…
Reference in a new issue