]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
build: properly detect netinet/ip.h structs
authorAlon Bar-Lev <alon.barlev@gmail.com>
Sun, 8 Apr 2012 19:22:09 +0000 (22:22 +0300)
committerDavid Sommerseth <davids@redhat.com>
Thu, 26 Apr 2012 18:01:32 +0000 (20:01 +0200)
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Acked-by: David Sommerseth <davids@redhat.com>
Signed-off-by: David Sommerseth <davids@redhat.com>
configure.ac

index 0f1ca9980013ac2656b2e77cf7ea9bd9633478be..1f32c9d4b65d42d9501e263ace7d57c5eac63273 100644 (file)
@@ -396,6 +396,9 @@ SOCKET_INCLUDES="
 #ifdef HAVE_NETINET_IN_SYSTM_H
 #include <netinet/in_systm.h>
 #endif
+#ifdef HAVE_NETINET_IP_H
+#include <netinet/ip.h>
+#endif
 "
 
 AC_CHECK_HEADERS(