From 803a824972621d28c1de83c799f06104f8e59685 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Tue, 16 Oct 2012 18:12:04 -0600 Subject: [PATCH] FreeBSD: net/if_dl.h seems to require param.h --- configure.ac | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index a26132bbe2..5cb7506ca0 100644 --- a/configure.ac +++ b/configure.ac @@ -1115,7 +1115,6 @@ if test "x${enable_eui:=yes}" = "xyes" ; then esac #Iphlpapi.h check delayed after winsock2.h AC_CHECK_HEADERS( \ - net/if_dl.h \ sys/sockio.h \ sys/param.h ) @@ -1127,9 +1126,12 @@ if test "x${enable_eui:=yes}" = "xyes" ; then #include ]]) - # openbsd requires sys/param.h to be included before sysctl.h - AC_CHECK_HEADERS(sys/sysctl.h, [], [], - [[#if HAVE_SYS_PARAM_H + # OpenBSD, FreeBSD and NetBSD requires sys/param.h to be included before sysctl.h and net/if_dl.h + AC_CHECK_HEADERS( \ + net/if_dl.h \ + sys/sysctl.h, + [], [], [[ +#if HAVE_SYS_PARAM_H #include #endif ]]) -- 2.47.2