summaryrefslogtreecommitdiff
path: root/accel-pppd/shaper/tc_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/shaper/tc_core.h')
-rw-r--r--accel-pppd/shaper/tc_core.h4
1 files changed, 4 insertions, 0 deletions
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,