From: Sebastian Harl Date: Fri, 18 May 2012 20:31:13 +0000 (+0200) Subject: configure: Use AC_INCLUDES_DEFAULT when checking any libkvm stuff. X-Git-Tag: collectd-5.0.5~4^2~4 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=096f706caf5718c11b3e8a7ad9ecb84f05482c4d;p=collectd.git configure: Use AC_INCLUDES_DEFAULT when checking any libkvm stuff. 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 --- diff --git a/configure.in b/configure.in index 00fbad03..add82f12 100644 --- a/configure.in +++ b/configure.in @@ -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 #include #include @@ -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 #include #include