Quellcode durchsuchen

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
Ton Voon vor 21 Jahren
Ursprung
Commit
3c97e0f36f
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      configure.in

+ 1 - 1
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 in the various BSD's
 dnl
 dnl
 
 
+AC_CHECK_HEADERS([sys/stat.h sys/param.h])
 AC_CHECK_HEADERS([sys/swap.h], [], [], [
 AC_CHECK_HEADERS([sys/swap.h], [], [], [
 #ifdef HAVE_SYS_PARAM_H
 #ifdef HAVE_SYS_PARAM_H
 #include <sys/param.h>
 #include <sys/param.h>
 #endif
 #endif
 ])
 ])
-AC_CHECK_HEADERS([sys/stat.h sys/param.h])
 AC_CHECK_DECLS([swapctl],,,[
 AC_CHECK_DECLS([swapctl],,,[
                #include <unistd.h>
                #include <unistd.h>
                #include <sys/types.h>
                #include <sys/types.h>