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
commit31b0f0be123f6000a3ba36d99198522e112c60ca (patch)
treed3213dcc199f2855df7bd843a2fe656463518637
parentf6c581cc3ef85ee1b26a02456bcbf0bf52438a23 (diff)
downloadupstream-31b0f0be123f6000a3ba36d99198522e112c60ca.tar.gz
upstream-31b0f0be123f6000a3ba36d99198522e112c60ca.tar.bz2
upstream-31b0f0be123f6000a3ba36d99198522e112c60ca.zip
iproute2: fix build error with musl (#19302)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44973
-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"