]> granicus.if.org Git - strace/commitdiff
Avoid spurious error when checking for linux/netlink.h
authorAndreas Schwab <schwab@redhat.com>
Mon, 8 Mar 2010 15:07:52 +0000 (16:07 +0100)
committerAndreas Schwab <schwab@redhat.com>
Tue, 9 Mar 2010 10:38:46 +0000 (11:38 +0100)
* configure.ac: Include <asm/types.h> when checking for
linux/netlink.h.

configure.ac

index a93527285e4391149ff33723fd69f99c57932a9c..f16daa4d4d9b8622e069c8dfa910bb0c8a1eed80 100644 (file)
@@ -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>])