iproute2: fix build error with musl (#19302)
authorFelix Fietkau <nbd@openwrt.org>
Wed, 25 Mar 2015 00:11:07 +0000 (00:11 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 25 Mar 2015 00:11:07 +0000 (00:11 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44973

package/network/utils/iproute2/patches/130-missing_include.patch [new file with mode: 0644]

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 (file)
index 0000000..8856963
--- /dev/null
@@ -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"