aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@bitpay.com>2013-08-24 20:19:24 -0700
committerJeff Garzik <jgarzik@bitpay.com>2013-08-24 20:19:24 -0700
commit3d86e7cd48f8a25a8f1b63a2e8220b56eb1f7b11 (patch)
treeb584599e7e2e3249b6da7192998f17e0dffd7fb4 /src/net.cpp
parent750ae29664d0e1fd50df464790d8e6aaa666946a (diff)
parent98148a713e6e671f1d993ce4dc7aa4654b4beaff (diff)
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 4ee1895a80..1f461e55db 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>