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

This commit is contained in:
Timothy Redaelli
2012-04-27 10:45:58 -04:00
committed by Luke Dashjr
parent 07d1a50aee
commit ea22a380de
2 changed files with 2 additions and 2 deletions
+2
View File
@@ -13,6 +13,8 @@
#ifdef WIN32
#include <string.h>
#else
#include <netinet/in.h>
#endif
#ifdef USE_UPNP