diff options
Diffstat (limited to 'main/iproute2/fix-includes.patch')
-rw-r--r-- | main/iproute2/fix-includes.patch | 40 |
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> + |