We should include netinet/in.h to use sockaddr_in (POSIX.1-2001)
[novacoin.git] / src / protocol.cpp
index 9933452..16ad746 100644 (file)
@@ -8,6 +8,7 @@
 
 #ifndef WIN32
 # include <arpa/inet.h>
+# include <netinet/in.h>
 #endif
 
 // Prototypes from net.h, but that header (currently) stinks, can't #include it without breaking things