Signed-off-by: Doug MacEachern <dougm@hyperic.com>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
# For the swap module
have_sys_swap_h="yes"
# For the swap module
have_sys_swap_h="yes"
-AC_CHECK_HEADERS(sys/swap.h, [], [have_sys_swap_h="no"],
+AC_CHECK_HEADERS(sys/swap.h vm/anon.h, [], [have_sys_swap_h="no"],
[
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
[
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#if HAVE_SYS_SWAP_H
# include <sys/swap.h>
#endif
#if HAVE_SYS_SWAP_H
# include <sys/swap.h>
#endif
+#if HAVE_VM_ANON_H
+# include <vm/anon.h>
+#endif
#if HAVE_SYS_PARAM_H
# include <sys/param.h>
#endif
#if HAVE_SYS_PARAM_H
# include <sys/param.h>
#endif