summaryrefslogtreecommitdiff
path: root/package/iproute2/patches/patch-netem_paretonormal_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_paretonormal_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_paretonormal_c')
-rw-r--r--package/iproute2/patches/patch-netem_paretonormal_c14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/iproute2/patches/patch-netem_paretonormal_c b/package/iproute2/patches/patch-netem_paretonormal_c
new file mode 100644
index 000000000..d2c2ac4b6
--- /dev/null
+++ b/package/iproute2/patches/patch-netem_paretonormal_c
@@ -0,0 +1,14 @@
+--- iproute2-2.6.29-1.orig/netem/paretonormal.c 2009-03-24 23:40:54.000000000 +0100
++++ iproute2-2.6.29-1/netem/paretonormal.c 2009-12-11 16:59:02.000000000 +0100
+@@ -11,11 +11,9 @@
+ */
+ #include <stdio.h>
+ #include <stdlib.h>
+-#include <stdlib.h>
+ #include <string.h>
+ #include <math.h>
+ #include <limits.h>
+-#include <malloc.h>
+
+ #include <linux/types.h>
+ #include <linux/pkt_sched.h>