From: Ton Voon Date: Tue, 28 Dec 2004 20:40:42 +0000 (+0000) Subject: sys/param.h needed for sys/swap.h on openbsd 3.6 (Julien Touche) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3c97e0f36f48bad4f1d7accb5649a0e24f21f726;hp=ffc603b77e14bbc15df970cd5ac32fdbe5caddd8;p=nagiosplug.git sys/param.h needed for sys/swap.h on openbsd 3.6 (Julien Touche) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1063 f882894a-f735-0410-b71e-b25c423dba1c --- diff --git a/configure.in b/configure.in index 30e4261..76e0ca9 100644 --- a/configure.in +++ b/configure.in @@ -1312,12 +1312,12 @@ dnl fwict, the 2-arg is an SVR4 standard, whereas the 3-arg is shared dnl in the various BSD's dnl +AC_CHECK_HEADERS([sys/stat.h sys/param.h]) AC_CHECK_HEADERS([sys/swap.h], [], [], [ #ifdef HAVE_SYS_PARAM_H #include #endif ]) -AC_CHECK_HEADERS([sys/stat.h sys/param.h]) AC_CHECK_DECLS([swapctl],,,[ #include #include