summarylogtreecommitdiffstats
path: root/shaper.patch
diff options
context:
space:
mode:
Diffstat (limited to 'shaper.patch')
-rw-r--r--shaper.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/shaper.patch b/shaper.patch
new file mode 100644
index 000000000000..158ddf1c32b0
--- /dev/null
+++ b/shaper.patch
@@ -0,0 +1,15 @@
+diff --git a/accel-pppd/shaper/tc_core.h b/accel-pppd/shaper/tc_core.h
+index cb85cc4..e38b579 100644
+--- a/accel-pppd/shaper/tc_core.h
++++ b/accel-pppd/shaper/tc_core.h
+@@ -6,6 +6,10 @@
+
+ #define TIME_UNITS_PER_SEC 1000000
+
++#ifndef UINT16_MAX
++#define UINT16_MAX 65535
++#endif
++
+ enum link_layer {
+ LINKLAYER_UNSPEC,
+ LINKLAYER_ETHERNET, \ No newline at end of file