aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-25 00:11:07 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-25 00:11:07 +0000
commit5c1980b7d791dc9480eb67f16c2618597ba57dba (patch)
tree56563d4e547a51c640b7242e78eaee542bc54cdd
parent67b5aaaf65a2f0a8a46a4d5f87e2940fd4a01717 (diff)
downloadupstream-5c1980b7d791dc9480eb67f16c2618597ba57dba.tar.gz
upstream-5c1980b7d791dc9480eb67f16c2618597ba57dba.tar.bz2
upstream-5c1980b7d791dc9480eb67f16c2618597ba57dba.zip
iproute2: fix build error with musl (#19302)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44973 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/network/utils/iproute2/patches/130-missing_include.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/network/utils/iproute2/patches/130-missing_include.patch b/package/network/utils/iproute2/patches/130-missing_include.patch
new file mode 100644
index 0000000000..8856963110
--- /dev/null
+++ b/package/network/utils/iproute2/patches/130-missing_include.patch
@@ -0,0 +1,10 @@
+--- a/lib/namespace.c
++++ b/lib/namespace.c
+@@ -9,6 +9,7 @@
+
+ #include <fcntl.h>
+ #include <dirent.h>
++#include <sys/param.h>
+
+ #include "utils.h"
+ #include "namespace.h"