patches/strace/4.5.19/160-fix-check-for-linux-netlink.patch
changeset 1671 08a5129e6eb0
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/strace/4.5.19/160-fix-check-for-linux-netlink.patch	Fri Jan 01 12:17:39 2010 +0100
     1.3 @@ -0,0 +1,19 @@
     1.4 +Dmitry V. Levin [Tue, 3 Nov 2009 16:49:49 +0000]
     1.5 +
     1.6 +Fix check for linux/netlink.h on Linux 2.6.32-rc5+
     1.7 +
     1.8 +* configure.ac (AC_CHECK_HEADERS): In check for linux/netlink.h, include 
     1.9 +  sys/socket.h instead of linux/socket.h beforehand.
    1.10 +
    1.11 +diff --git a/configure.ac b/configure.ac
    1.12 +--- a/configure.ac
    1.13 ++++ b/configure.ac
    1.14 +@@ -258,7 +258,7 @@ AC_CHECK_HEADERS([ \
    1.15 + ], [], [])
    1.16 + AC_CHECK_HEADERS([linux/icmp.h linux/in6.h linux/netlink.h linux/if_packet.h],
    1.17 +                  [], [], [#include <stddef.h>
    1.18 +-#include <linux/socket.h>])
    1.19 ++#include <sys/socket.h>])
    1.20 + AC_CHECK_HEADERS([asm/sigcontext.h], [], [], [#include <signal.h>])
    1.21 + AC_CHECK_TYPES([struct sigcontext_struct,
    1.22 + 		struct sigcontext],,, [#include <signal.h>])