summaryrefslogtreecommitdiff
path: root/src/basic/ratelimit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/ratelimit.c')
-rw-r--r--src/basic/ratelimit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/basic/ratelimit.c b/src/basic/ratelimit.c
index 81fc9c19ff..ee0f8176b9 100644
--- a/src/basic/ratelimit.c
+++ b/src/basic/ratelimit.c
@@ -20,7 +20,10 @@
***/
+#include <sys/time.h>
+
#include "ratelimit.h"
+#include "macro.h"
/* Modelled after Linux' lib/ratelimit.c by Dave Young
* <hidave.darkstar@gmail.com>, which is licensed GPLv2. */