Code

configure: Use AC_INCLUDES_DEFAULT when checking any libkvm stuff.
authorSebastian Harl <sh@tokkee.org>
Fri, 18 May 2012 20:31:13 +0000 (22:31 +0200)
committerFlorian Forster <octo@collectd.org>
Thu, 13 Sep 2012 08:55:58 +0000 (10:55 +0200)
kvm.h requires sys/types.h to be included. Using AC_INCLUDES_DEFAULT will
hopefully make sure that we're save for a bit ;-)

Signed-off-by: Florian Forster <octo@collectd.org>
configure.in

index 00fbad03817a6884f57d8319cb4ddbbefe704806..add82f1286c7b7d6b3a8ff43708ed204c998d7e8 100644 (file)
@@ -1043,6 +1043,7 @@ AC_CHECK_MEMBERS([struct kinfo_proc.ki_pid, struct kinfo_proc.ki_rssize, struct
                have_struct_kinfo_proc_freebsd="no"
        ],
        [
+AC_INCLUDES_DEFAULT
 #include <kvm.h>
 #include <sys/param.h>
 #include <sys/sysctl.h>
@@ -1059,6 +1060,7 @@ AC_CHECK_MEMBERS([struct kinfo_proc.kp_proc, struct kinfo_proc.kp_eproc],
                have_struct_kinfo_proc_openbsd="no"
        ],
        [
+AC_INCLUDES_DEFAULT
 #include <sys/param.h>
 #include <sys/sysctl.h>
 #include <kvm.h>