aboutsummaryrefslogtreecommitdiff
path: root/src/common/token_bucket.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-22 11:51:58 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-22 11:51:58 -0400
commit6fc2d532274ead9c903c6d94b1a513b8d9b6f677 (patch)
tree1322e7fe3f1dca69e41127bb2a46d6dca54479d0 /src/common/token_bucket.c
parent7a93ce8f6382a2fe8687e7e42dc398e08480c901 (diff)
downloadtor-6fc2d532274ead9c903c6d94b1a513b8d9b6f677.tar.gz
tor-6fc2d532274ead9c903c6d94b1a513b8d9b6f677.zip
Remove util_bug dependency on compat.h
Diffstat (limited to 'src/common/token_bucket.c')
-rw-r--r--src/common/token_bucket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/token_bucket.c b/src/common/token_bucket.c
index a028b08a0b..502e8eac56 100644
--- a/src/common/token_bucket.c
+++ b/src/common/token_bucket.c
@@ -19,6 +19,7 @@
#define TOKEN_BUCKET_PRIVATE
#include "common/token_bucket.h"
+#include "common/compat.h"
#include "common/util_bug.h"
/**
@@ -252,4 +253,3 @@ token_bucket_rw_dec(token_bucket_rw_t *bucket,
flags |= TB_WRITE;
return flags;
}
-