summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorAlon Bar-Lev <alon.barlev@gmail.com>2012-04-08 22:22:09 +0300
committerDavid Sommerseth <davids@redhat.com>2012-04-26 20:01:32 +0200
commit4025a59575a9a90cb96fde01eba8db3c1cab0b2b (patch)
tree62316e32b1132b489614dcef2c873791ad55814a /configure.ac
parent7c0a2b5f2b4409c8c05c2356f91ee9ae2a2a4963 (diff)
downloadopenvpn-4025a59575a9a90cb96fde01eba8db3c1cab0b2b.tar.gz
openvpn-4025a59575a9a90cb96fde01eba8db3c1cab0b2b.tar.xz
openvpn-4025a59575a9a90cb96fde01eba8db3c1cab0b2b.zip
build: properly detect netinet/ip.h structs
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>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0f1ca99..1f32c9d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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(