diff options
author | Timothy Redaelli <timothy.redaelli@gmail.com> | 2012-04-25 14:07:24 +0200 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2012-04-27 10:42:37 -0400 |
commit | dfac636fd7e4f0168daade3b3095f3d5a60fd524 (patch) | |
tree | 397da0012528038deb92699d281d2dc35e4cd7b7 /src/net.cpp | |
parent | a93ab877877925c60b2dbf56bdde8aa46b6b7391 (diff) | |
download | bitcoin-dfac636fd7e4f0168daade3b3095f3d5a60fd524.tar.xz |
We should include netinet/in.h to use sockaddr_in (POSIX.1-2001)
Diffstat (limited to 'src/net.cpp')
-rw-r--r-- | src/net.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net.cpp b/src/net.cpp index 5b3faea79d..e92c659a39 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -12,6 +12,8 @@ #ifdef WIN32 #include <string.h> +#else +#include <netinet/in.h> #endif #ifdef USE_UPNP |