Some platforms need sys/socket.h included before netinet/in.h.

Fixed an unused variable compiler warning.
This commit is contained in:
Dan Fandrich
2009-09-15 14:08:48 -07:00
parent c4b7f0394b
commit 1418993a0f
17 changed files with 49 additions and 48 deletions

View File

@@ -16,12 +16,12 @@
#ifdef HAVE_WINSOCK2_H
# include <winsock2.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
# ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif