diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-29 11:35:49 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-29 12:21:52 -0400 |
commit | 4212a135e1c092a16fc1c4d783495e44d48bbaf9 (patch) | |
tree | 5be975b2bf77325a9386fd930e66d35183472190 /src/common/token_bucket.c | |
parent | 35e1c497aa54a22818552c9f3757067e381bb6bb (diff) | |
download | tor-4212a135e1c092a16fc1c4d783495e44d48bbaf9.tar.gz tor-4212a135e1c092a16fc1c4d783495e44d48bbaf9.zip |
Remove util.h and compat.h includes from src/common
Diffstat (limited to 'src/common/token_bucket.c')
-rw-r--r-- | src/common/token_bucket.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common/token_bucket.c b/src/common/token_bucket.c index 3a16720d7f..f7b092f612 100644 --- a/src/common/token_bucket.c +++ b/src/common/token_bucket.c @@ -19,8 +19,11 @@ #define TOKEN_BUCKET_PRIVATE #include "common/token_bucket.h" -#include "common/compat.h" #include "lib/log/util_bug.h" +#include "lib/intmath/cmp.h" +#include "lib/time/compat_time.h" + +#include <string.h> /** * Set the <b>rate</b> and <b>burst</b> value in a token_bucket_cfg. |