Fix fcntl include in net.cpp & netbase.cpp

This commit is contained in:
fcicq 2013-07-17 16:51:40 +08:00
parent b34255b758
commit 98148a713e
2 changed files with 5 additions and 1 deletions

View file

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

View file

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