Commit Diff


commit - 059e70724945264c2ab4f25edd48a50d173697f6
commit + e2930f3f5e7356d24f4b5e1616cb7674bd0123ec
blob - 6d9312d4d7cac169b174f13863271b3812135e57
blob + 57883edcc091134843acf40820829d12bc00ee11
--- configure.in
+++ configure.in
@@ -108,10 +108,15 @@ AC_CHECK_HEADERS([ \
 AC_CHECK_HEADERS([ \
 	arpa/inet.h ctype.h malloc.h netinet/ip.h stdbool.h stddef.h varargs.h \
 	],[],[],[[
-	#include <netinet/in.h>
-	#ifdef HAVE_NETINET_IN_SYSTM_H
-		#include <netinet/in_systm.h>
+	#ifdef HAVE_SYS_TYPES_H
+		#include <sys/types.h>
 	#endif
+	#ifdef HAVE_SYS_SOCKET_H
+		#include <sys/socket.h>
+	#endif
+	#ifdef HAVE_NETINET_IN_H
+		#include <netinet/in.h>
+	#endif
 	]]
 )