Check for sys/types.h when including netinet/ip6.h
authorocto <octo>
Sun, 12 Mar 2006 21:44:08 +0000 (21:44 +0000)
committerocto <octo>
Sun, 12 Mar 2006 21:44:08 +0000 (21:44 +0000)
configure.in

index 3d640cb..d5c4775 100644 (file)
@@ -104,6 +104,9 @@ AC_CHECK_HEADERS(netinet/ip6.h, [], [],
 [#if HAVE_STDINT_H
 # include <stdint.h>
 #endif
+#if HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
 #if HAVE_NETINET_IN_SYSTM_H
 # include <netinet/in_systm.h>
 #endif
@@ -115,6 +118,9 @@ AC_CHECK_HEADERS(netinet/icmp6.h, [], [],
 [#if HAVE_STDINT_H
 # include <stdint.h>
 #endif
+#if HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
 #if HAVE_NETINET_IN_SYSTM_H
 # include <netinet/in_systm.h>
 #endif