summaryrefslogtreecommitdiffstats
path: root/main/iproute2/fix-includes.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-29 12:20:16 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-09-29 12:20:16 +0000
commit97616d7c21376e9f7f2a45f0d0e65a7c5d96fd4f (patch)
tree03b8fda76b258df544ff613c36691691eda775fc /main/iproute2/fix-includes.patch
parenta6be37c96770b878725e72bb8cab6f30a36b96a9 (diff)
downloadaports-97616d7c21376e9f7f2a45f0d0e65a7c5d96fd4f.tar.bz2
aports-97616d7c21376e9f7f2a45f0d0e65a7c5d96fd4f.tar.xz
main/iproute2: fix musl build
Diffstat (limited to 'main/iproute2/fix-includes.patch')
-rw-r--r--main/iproute2/fix-includes.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/main/iproute2/fix-includes.patch b/main/iproute2/fix-includes.patch
new file mode 100644
index 000000000..23a0838d3
--- /dev/null
+++ b/main/iproute2/fix-includes.patch
@@ -0,0 +1,40 @@
+--- iproute2-3.10.0.orig/bridge/fdb.c
++++ iproute2-3.10.0/bridge/fdb.c
+@@ -12,6 +12,7 @@
+ #include <netdb.h>
+ #include <time.h>
+ #include <fcntl.h>
++#include <limits.h>
+ #include <sys/socket.h>
+ #include <sys/time.h>
+ #include <net/if.h>
+--- iproute2-3.10.0.orig/misc/lnstat.h
++++ iproute2-3.10.0/misc/lnstat.h
+@@ -2,6 +2,7 @@
+ #define _LNSTAT_H
+
+ #include <limits.h>
++#include <sys/select.h>
+
+ #define LNSTAT_VERSION "0.02 041002"
+
+--- iproute2-3.10.0.orig/tc/tc_stab.c
++++ iproute2-3.10.0/tc/tc_stab.c
+@@ -17,6 +17,7 @@
+ #include <fcntl.h>
+ #include <math.h>
+ #include <sys/socket.h>
++#include <sys/param.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <string.h>
+--- iproute2-3.10.0.orig/tc/tc_util.c
++++ iproute2-3.10.0/tc/tc_util.c
+@@ -18,6 +18,7 @@
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
++#include <sys/param.h>
+ #include <string.h>
+ #include <math.h>
+