summaryrefslogtreecommitdiff
path: root/package/iproute2/patches/patch-netem_paretonormal_c
blob: 5ff674e5a8b56418a8f03e53c892ae6a672b0318 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- iproute2-3.12.0.orig/netem/paretonormal.c	2013-11-23 02:10:33.000000000 +0100
+++ iproute2-3.12.0/netem/paretonormal.c	2014-02-09 12:22:09.000000000 +0100
@@ -11,15 +11,11 @@
  */
 #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>
 
+#define NETEM_DIST_SCALE	8192
 #define TABLESIZE	16384
 #define TABLEFACTOR	NETEM_DIST_SCALE