Code

sys/param.h needed for sys/swap.h on openbsd 3.6 (Julien Touche)
authorTon Voon <tonvoon@users.sourceforge.net>
Tue, 28 Dec 2004 20:40:42 +0000 (20:40 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Tue, 28 Dec 2004 20:40:42 +0000 (20:40 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1063 f882894a-f735-0410-b71e-b25c423dba1c

configure.in

index 30e42611664f5d776a7a237fac28e24943cf5552..76e0ca9da1625950b0bfa3dd86f3454c74ba0f02 100644 (file)
@@ -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 <sys/param.h>
 #endif
 ])
-AC_CHECK_HEADERS([sys/stat.h sys/param.h])
 AC_CHECK_DECLS([swapctl],,,[
                #include <unistd.h>
                #include <sys/types.h>