blob: 158ddf1c32b00bd9ca356eef31c0caa54d613459 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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,
|