diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-11 09:17:54 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-02-11 09:17:54 +0100 |
commit | bc2fd4900222c904751d14906b5e4cd3372d14e8 (patch) | |
tree | 99a35a4f011bdc9d8f1aabc906dabe28458839e7 /package/iproute2/patches/patch-netem_pareto_c | |
parent | c7d63e029bc682c511770b8d3189be1264325c04 (diff) | |
parent | e3fcd8688f769707d355ac3ae786d0d46185506f (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/iproute2/patches/patch-netem_pareto_c')
-rw-r--r-- | package/iproute2/patches/patch-netem_pareto_c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/iproute2/patches/patch-netem_pareto_c b/package/iproute2/patches/patch-netem_pareto_c new file mode 100644 index 000000000..b422a56a0 --- /dev/null +++ b/package/iproute2/patches/patch-netem_pareto_c @@ -0,0 +1,14 @@ +--- iproute2-3.12.0.orig/netem/pareto.c 2013-11-23 02:10:33.000000000 +0100 ++++ iproute2-3.12.0/netem/pareto.c 2014-02-09 11:46:07.000000000 +0100 +@@ -7,10 +7,8 @@ + #include <math.h> + #include <limits.h> + +-#include <linux/types.h> +-#include <linux/pkt_sched.h> +- + static const double a=3.0; ++#define NETEM_DIST_SCALE 8192 + #define TABLESIZE 16384 + #define TABLEFACTOR NETEM_DIST_SCALE + |