summaryrefslogtreecommitdiff
path: root/src/lib/log/ratelim.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/log/ratelim.c')
-rw-r--r--src/lib/log/ratelim.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/log/ratelim.c b/src/lib/log/ratelim.c
index 2d276055b7..677c499110 100644
--- a/src/lib/log/ratelim.c
+++ b/src/lib/log/ratelim.c
@@ -5,6 +5,7 @@
#include "lib/log/ratelim.h"
#include "lib/malloc/util_malloc.h"
+#include "lib/string/printf.h"
/** If the rate-limiter <b>lim</b> is ready at <b>now</b>, return the number
* of calls to rate_limit_is_ready (including this one!) since the last time