[PATCH] Avoid spurious error when checking for linux/netlink.h

Andreas Schwab schwab at redhat.com
Mon Mar 8 15:13:04 UTC 2010


* configure.ac: Include <asm/types.h> when checking for
linux/netlink.h.
---
 configure.ac |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index a935272..f16daa4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -263,7 +263,8 @@ AC_CHECK_HEADERS([ \
 ], [], [])
 AC_CHECK_HEADERS([linux/icmp.h linux/in6.h linux/netlink.h linux/if_packet.h],
                  [], [], [#include <stddef.h>
-#include <sys/socket.h>])
+#include <sys/socket.h>
+#include <asm/types.h>])
 AC_CHECK_HEADERS([asm/sigcontext.h], [], [], [#include <signal.h>])
 AC_CHECK_TYPES([struct sigcontext_struct,
 		struct sigcontext],,, [#include <signal.h>])
-- 
1.7.0.1


-- 
Andreas Schwab, schwab at redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."




More information about the Strace-devel mailing list