iproute2: fix build error with musl (#19302)
[15.05/openwrt.git] / package / network / utils / iproute2 / patches / 130-missing_include.patch
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"