aboutsummaryrefslogtreecommitdiff
path: root/src/common/token_bucket.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/token_bucket.c')
-rw-r--r--src/common/token_bucket.c5
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.