diff options
author | 4le34n | 2017-11-14 18:51:48 +1100 |
---|---|---|
committer | 4le34n | 2017-11-14 18:51:48 +1100 |
commit | 12c3f4e35b1f7aacddc4260e3269b261c17b02f4 (patch) | |
tree | a113a17c961b06cbdaa81e4b0d5df076146619dd /shaper.patch | |
parent | 50bddbb5f1ab669f686c174723c4a3e20b6602a4 (diff) | |
download | aur-12c3f4e35b1f7aacddc4260e3269b261c17b02f4.tar.gz |
Fix error build, add patch shaper.patch
Diffstat (limited to 'shaper.patch')
-rw-r--r-- | shaper.patch | 15 |
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 |