git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
We should include netinet/in.h to use sockaddr_in (POSIX.1-2001)
[novacoin.git]
/
src
/
net.cpp
diff --git
a/src/net.cpp
b/src/net.cpp
index
5368261
..
e5cb6d4
100644
(file)
--- a/
src/net.cpp
+++ b/
src/net.cpp
@@
-13,6
+13,8
@@
#ifdef WIN32
#include <string.h>
+#else
+#include <netinet/in.h>
#endif
#ifdef USE_UPNP