From 0652f944af3e1fc3d7482380f9c9a8aabc334db3 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 10 Feb 2014 09:34:53 +0100 Subject: fix cross-compile on Darwin --- package/iproute2/patches/patch-netem_normal_c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'package/iproute2/patches/patch-netem_normal_c') diff --git a/package/iproute2/patches/patch-netem_normal_c b/package/iproute2/patches/patch-netem_normal_c index 719899301..3eada6d03 100644 --- a/package/iproute2/patches/patch-netem_normal_c +++ b/package/iproute2/patches/patch-netem_normal_c @@ -1,10 +1,13 @@ ---- 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 @@ +--- iproute2-3.12.0.orig/netem/normal.c 2013-11-23 02:10:33.000000000 +0100 ++++ iproute2-3.12.0/netem/normal.c 2014-02-09 11:40:30.000000000 +0100 +@@ -8,9 +8,7 @@ #include #include -#include - #include - +-#include +- ++#define NETEM_DIST_SCALE 8192 #define TABLESIZE 16384 + #define TABLEFACTOR NETEM_DIST_SCALE + -- cgit v1.2.3