]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Portability: typo in EUI header requirement checks
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 8 Oct 2012 21:51:51 +0000 (15:51 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 8 Oct 2012 21:51:51 +0000 (15:51 -0600)
configure.ac

index b9872934692403291abab89477d1d140d6bba8d4..20f7e470791aa0923710647f5de0bff32faca747 100644 (file)
@@ -1150,7 +1150,7 @@ if test "x${enable_eui:=yes}" = "xyes" ; then
   [], [], [[
 #if HAVE_WINDOWS_H
 include <windows.h>
-endif
+#endif
 ]]
   )
   AC_CHECK_HEADERS( \
@@ -1161,9 +1161,9 @@ endif
 #include <sys/socket.h>
 ]])
 
-  # 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
+  AC_CHECK_HEADERS(sys/sysctl.h, [], [], [[
+#if HAVE_SYS_PARAM_H
 #include <sys/param.h>
 #endif
   ]])