From: Gert Doering Date: Sat, 10 Jul 2010 09:24:41 +0000 (+0200) Subject: Fix compile time problems on OpenBSD for good X-Git-Tag: v2.2-beta4~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9b5134f78480f903434366478f3918c021b7caa;p=thirdparty%2Fopenvpn.git Fix compile time problems on OpenBSD for good Previous fix (commit eb973e055bc249948) fixed NetBSD but not OpenBSD (include *after* ) Signed-off-by: Gert Doering Acked-by: krzee Signed-off-by: David Sommerseth --- diff --git a/configure.ac b/configure.ac index b91a41ce8..c817938f8 100644 --- a/configure.ac +++ b/configure.ac @@ -368,12 +368,12 @@ if test "${WIN32}" != "yes"; then linux/types.h sys/poll.h sys/epoll.h err.h dnl ) AC_CHECK_HEADERS(net/if.h,,, - [#ifdef HAVE_SYS_SOCKET_H - # include - #endif - #ifdef HAVE_SYS_TYPES_H + [#ifdef HAVE_SYS_TYPES_H # include #endif + #ifdef HAVE_SYS_SOCKET_H + # include + #endif ]) AC_CHECK_HEADERS(netinet/ip.h,,, [#ifdef HAVE_SYS_TYPES_H