We should include netinet/in.h to use sockaddr_in (POSIX.1-2001)

This commit is contained in:
Timothy Redaelli
2012-04-27 10:42:37 -04:00
committed by Luke Dashjr
parent a93ab87787
commit dfac636fd7
3 changed files with 7 additions and 0 deletions
+2
View File
@@ -12,6 +12,8 @@
#ifdef WIN32
#include <string.h>
#else
#include <netinet/in.h>
#endif
#ifdef USE_UPNP