Explorar o código

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 %!s(int64=21) %!d(string=hai) anos
pai
achega
3c97e0f36f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 
+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>