Code

Merge branch 'collectd-4.6' into collectd-4.7
[collectd.git] / configure.in
index e13b93efc6c57af2ce89476cdc7436f8d45d1fa5..b032b6f29515582c8bd4d9b0f0143e6c18ab6f90 100644 (file)
@@ -280,6 +280,8 @@ AC_CHECK_HEADERS(IOKit/ps/IOPowerSources.h, [], [],
 have_sys_swap_h="yes"
 AC_CHECK_HEADERS(sys/swap.h vm/anon.h, [], [have_sys_swap_h="no"],
 [
+#undef _FILE_OFFSET_BITS
+#undef _LARGEFILE64_SOURCE
 #if HAVE_SYS_TYPES_H
 #  include <sys/types.h>
 #endif