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:14:46 +0300 |
commit | cb9cf0a9c1e88e5fea156b5048be439d9763dc70 (patch) | |
tree | 4738b78d444e6bcf9209cc522a8c4e18ff291005 | |
parent | 5b00fe06f4bff8181293eb7cf341960928270100 (diff) | |
download | accel-ppp-cb9cf0a9c1e88e5fea156b5048be439d9763dc70.tar.gz accel-ppp-cb9cf0a9c1e88e5fea156b5048be439d9763dc70.zip |
shaper: define UINT16_MAX if not set
-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 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, |