diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2017-12-20 13:11:15 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2017-12-20 13:11:15 +0300 |
commit | 017c749648a91571b23824a689f2e3fdfe8c9d7e (patch) | |
tree | d109aeefc34059f41ec26b6a27d2563e4636b0c3 /accel-pppd/shaper | |
parent | 019f2c557d066070217a5cc873fd078bf3b6400d (diff) | |
download | accel-ppp-017c749648a91571b23824a689f2e3fdfe8c9d7e.tar.gz accel-ppp-017c749648a91571b23824a689f2e3fdfe8c9d7e.zip |
shaper: define UINT16_MAX if not set
Diffstat (limited to 'accel-pppd/shaper')
-rw-r--r-- | accel-pppd/shaper/tc_core.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/accel-pppd/shaper/tc_core.h b/accel-pppd/shaper/tc_core.h index cb85cc44..e38b5799 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, |