aports/main/iproute2/fix-includes.patch
2013-09-29 12:20:16 +00:00

41 lines
912 B
Diff

--- 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>