diff options
| author | fcicq <[email protected]> | 2013-07-17 16:51:40 +0800 |
|---|---|---|
| committer | fcicq <[email protected]> | 2013-07-17 16:51:40 +0800 |
| commit | 98148a713e6e671f1d993ce4dc7aa4654b4beaff (patch) | |
| tree | 151b91d6e291ea94ffb9219dc28892ca6e4eeb45 /src/net.cpp | |
| parent | Ignore SIGPIPE signal on Solaris (diff) | |
| download | discoin-98148a713e6e671f1d993ce4dc7aa4654b4beaff.tar.xz discoin-98148a713e6e671f1d993ce4dc7aa4654b4beaff.zip | |
Fix fcntl include in net.cpp & netbase.cpp
Diffstat (limited to 'src/net.cpp')
| -rw-r--r-- | src/net.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net.cpp b/src/net.cpp index 5418c3de4..0a71e758b 100644 --- a/src/net.cpp +++ b/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> |