aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-04-17 11:39:16 -0400
committerNick Mathewson <nickm@torproject.org>2018-04-17 11:39:16 -0400
commit488e2b00bf881b97bcc8e4bbe304845ff1d79a03 (patch)
treeada75584417994adec28a046b3cdf5a73ecbc761 /src/or/or.h
parent2bf6f1cd39c102749ee518664036c90ab1dbfc9c (diff)
downloadtor-488e2b00bf881b97bcc8e4bbe304845ff1d79a03.tar.gz
tor-488e2b00bf881b97bcc8e4bbe304845ff1d79a03.zip
Refactor the "block the connection on bandwidth" logic
Right now, this patch just introduces and exposes some new functions. Later, these functions will get a little more complexity.
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index c5a039e939..e27f25197b 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -57,6 +57,7 @@
#ifdef HAVE_TIME_H
#include <time.h>
#endif
+#include <stdbool.h>
#ifdef _WIN32
#include <winsock2.h>