From a9b5134f78480f903434366478f3918c021b7caa Mon Sep 17 00:00:00 2001 From: Gert Doering Date: Sat, 10 Jul 2010 11:24:41 +0200 Subject: 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 --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index b91a41c..c817938 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 -- cgit v1.2.3