summaryrefslogtreecommitdiffstats
path: root/main/iproute2/fix-includes.patch
blob: 23a0838d35a5bf8c82411443e0077cfb0d459599 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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>