socket.c: we need netinet/in.h on some platforms
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Fri, 15 Aug 2014 01:56:39 +0000 (18:56 -0700)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Fri, 15 Aug 2014 01:56:39 +0000 (18:56 -0700)
lib/socket.c

index f8db957e0bb600510fcba27afc06dd04b2145c1b..1c1853c7cd7989cb84ea3f52774f2e0c6782b4a1 100644 (file)
 #include <sys/socket.h>
 #endif
 
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
+
 #ifdef HAVE_NETINET_TCP_H
 #include <netinet/tcp.h>
 #endif