summaryrefslogtreecommitdiff
path: root/package/iproute2/patches/patch-netem_normal_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-11 17:00:39 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-11 17:00:39 +0100
commit5de4c2949b50992dd7c5063835301e5ff18e66cb (patch)
treeba5ee2fa165c196305264d4cd9dae7f70a5a081a /package/iproute2/patches/patch-netem_normal_c
parent83270395db5c6e016076f0ea593594b057778e05 (diff)
make iproute compilable on FreeBSD host
make an extra linux-headers dir in STAGING_DIR for special cases, where host gcc is used, but kernel headers from Linux are needed. Move GNU make specific export to GNUMakefile.
Diffstat (limited to 'package/iproute2/patches/patch-netem_normal_c')
-rw-r--r--package/iproute2/patches/patch-netem_normal_c10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/iproute2/patches/patch-netem_normal_c b/package/iproute2/patches/patch-netem_normal_c
new file mode 100644
index 000000000..719899301
--- /dev/null
+++ b/package/iproute2/patches/patch-netem_normal_c
@@ -0,0 +1,10 @@
+--- iproute2-2.6.29-1.orig/netem/normal.c 2009-03-24 23:40:54.000000000 +0100
++++ iproute2-2.6.29-1/netem/normal.c 2009-12-11 16:35:38.000000000 +0100
+@@ -8,7 +8,6 @@
+ #include <string.h>
+ #include <limits.h>
+
+-#include <linux/types.h>
+ #include <linux/pkt_sched.h>
+
+ #define TABLESIZE 16384