Browse Source

Fix fcntl include in net.cpp & netbase.cpp

pull/4/head
fcicq 11 years ago
parent
commit
98148a713e
  1. 4
      src/net.cpp
  2. 2
      src/netbase.cpp

4
src/net.cpp

@ -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>

2
src/netbase.cpp

@ -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…
Cancel
Save