scancpan: fix detection of native module
[buildroot-gz.git] / package / libpcap / 0002-configure.in-fix-detect-of-if_bonding.h-on-uclinux.patch
blob7838c6f25676972d0b4dec9046eda515f10e20de
1 From 5b8dc4eaeab60d5effc33055e5bce9ac0d98d339 Mon Sep 17 00:00:00 2001
2 From: Baruch Siach <baruch@tkos.co.il>
3 Date: Tue, 2 Jun 2015 21:39:15 +0300
4 Subject: [PATCH] configure.in: fix detect of if_bonding.h on uclinux
6 noMMU Linux (uClinux) is also Linux
8 Upstream status: https://github.com/the-tcpdump-group/libpcap/pull/440
10 Signed-off-by: Baruch Siach <baruch@tkos.co.il>
11 ---
12 configure.in | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
15 diff --git a/configure.in b/configure.in
16 index be4b29e2f8ba..31287d0dbe61 100644
17 --- a/configure.in
18 +++ b/configure.in
19 @@ -149,7 +149,7 @@ struct rtentry;
22 case "$host_os" in
23 -linux*)
24 +linux*|uclinux*)
25 AC_CHECK_HEADERS(linux/sockios.h linux/if_bonding.h,,,
27 #include <sys/socket.h>
28 --
29 2.1.4