1 --- a/netem/maketable.c
2 +++ b/netem/maketable.c
7 +#if !defined(__APPLE__) && !defined(__FreeBSD__)
11 #include <sys/types.h>
19 +#if !defined(__APPLE__) && !defined(__FreeBSD__)
20 #include <linux/types.h>
21 #include <linux/pkt_sched.h>
23 +#define NETEM_DIST_SCALE 8192
26 #define TABLESIZE 16384
27 #define TABLEFACTOR NETEM_DIST_SCALE
34 +#if !defined(__APPLE__) && !defined(__FreeBSD__)
35 #include <linux/types.h>
36 #include <linux/pkt_sched.h>
38 +#define NETEM_DIST_SCALE 8192
41 static const double a=3.0;
42 #define TABLESIZE 16384
43 --- a/netem/paretonormal.c
44 +++ b/netem/paretonormal.c
49 +#if !defined(__APPLE__) && !defined(__FreeBSD__)
52 #include <linux/types.h>
53 #include <linux/pkt_sched.h>
55 +#define NETEM_DIST_SCALE 8192
58 #define TABLESIZE 16384
59 #define TABLEFACTOR NETEM_DIST_SCALE