From c2207e9b2cdec9cd4c32184c668a2c469edb7148 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 2 Feb 2011 10:40:06 +0100 Subject: replace: Try to fix broken sys/capabilites.h on Linux. As this is more or less a broken header we need to include linux/types.h before sys/capabilities.h to avoid redefinitions. Autobuild-User: Andreas Schneider Autobuild-Date: Wed Feb 2 11:57:04 CET 2011 on sn-devel-104 --- lib/replace/system/config.m4 | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/replace/system/config.m4') diff --git a/lib/replace/system/config.m4 b/lib/replace/system/config.m4 index 04364bc3a1..71d3d53c3d 100644 --- a/lib/replace/system/config.m4 +++ b/lib/replace/system/config.m4 @@ -25,6 +25,7 @@ fi AC_HEADER_SYS_WAIT # capability +AC_CHECK_HEADERS(linux/types.h) AC_CHECK_HEADERS(sys/capability.h) case "$host_os" in -- cgit