From: Gert Doering Date: Fri, 9 Jul 2010 08:24:46 +0000 (+0200) Subject: Fix compile problems on NetBSD and OpenBSD X-Git-Tag: v2.2-beta4~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22ff667e4e7e412db21d9b1642fc92fa670d323d;p=thirdparty%2Fopenvpn.git Fix compile problems on NetBSD and OpenBSD Configure will not find due to missing in the test program, and thus, tun.c will fail to compile with missing symbol IFF_MULTICAST. Signed-off-by: Gert Doering Acked-by: krzee Signed-off-by: David Sommerseth --- diff --git a/configure.ac b/configure.ac index 4626e4618..b91a41ce8 100644 --- a/configure.ac +++ b/configure.ac @@ -371,6 +371,9 @@ if test "${WIN32}" != "yes"; then [#ifdef HAVE_SYS_SOCKET_H # include #endif + #ifdef HAVE_SYS_TYPES_H + # include + #endif ]) AC_CHECK_HEADERS(netinet/ip.h,,, [#ifdef HAVE_SYS_TYPES_H