summaryrefslogtreecommitdiffstats
path: root/package/libpcap/0002-configure.in-fix-detect-of-if_bonding.h-on-uclinux.patch
blob: 7838c6f25676972d0b4dec9046eda515f10e20de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From 5b8dc4eaeab60d5effc33055e5bce9ac0d98d339 Mon Sep 17 00:00:00 2001
From: Baruch Siach <baruch@tkos.co.il>
Date: Tue, 2 Jun 2015 21:39:15 +0300
Subject: [PATCH] configure.in: fix detect of if_bonding.h on uclinux

noMMU Linux (uClinux) is also Linux

Upstream status: https://github.com/the-tcpdump-group/libpcap/pull/440

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 configure.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.in b/configure.in
index be4b29e2f8ba..31287d0dbe61 100644
--- a/configure.in
+++ b/configure.in
@@ -149,7 +149,7 @@ struct rtentry;
 fi
 
 case "$host_os" in
-linux*)
+linux*|uclinux*)
 	AC_CHECK_HEADERS(linux/sockios.h linux/if_bonding.h,,,
 	[
 #include <sys/socket.h>
-- 
2.1.4

OpenPOWER on IntegriCloud