aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorJeff Garzik <[email protected]>2013-08-24 20:19:24 -0700
committerJeff Garzik <[email protected]>2013-08-24 20:19:24 -0700
commit3d86e7cd48f8a25a8f1b63a2e8220b56eb1f7b11 (patch)
treeb584599e7e2e3249b6da7192998f17e0dffd7fb4 /src/net.cpp
parentMerge pull request #2852 from petertodd/getblock-chainwork (diff)
parentFix fcntl include in net.cpp & netbase.cpp (diff)
downloaddiscoin-3d86e7cd48f8a25a8f1b63a2e8220b56eb1f7b11.tar.xz
discoin-3d86e7cd48f8a25a8f1b63a2e8220b56eb1f7b11.zip
Merge pull request #2618 from fcicq/solaris-support
Partial solaris support
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 4ee1895a8..1f461e55d 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>