aboutsummaryrefslogtreecommitdiff
path: root/src/lib/log/ratelim.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/log/ratelim.h')
-rw-r--r--src/lib/log/ratelim.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/log/ratelim.h b/src/lib/log/ratelim.h
index efaeb9bf62..4ee6c5fed4 100644
--- a/src/lib/log/ratelim.h
+++ b/src/lib/log/ratelim.h
@@ -6,6 +6,8 @@
#ifndef TOR_RATELIM_H
#define TOR_RATELIM_H
+#include <time.h>
+
/* Rate-limiter */
/** A ratelim_t remembers how often an event is occurring, and how often