summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-04-27 15:08:27 -0400
committerNick Mathewson <nickm@torproject.org>2018-04-27 15:08:27 -0400
commitcb0af6157c0acbd0a30c20f8f0a3b9d4d1f402ad (patch)
tree1ad11209384388b5273f76f9d84dc1273aa01c6d
parent78eb0192dae890c473d1920e23635db6d3624b2f (diff)
downloadtor-cb0af6157c0acbd0a30c20f8f0a3b9d4d1f402ad.tar.gz
tor-cb0af6157c0acbd0a30c20f8f0a3b9d4d1f402ad.zip
Move stdbool include to torint.h
It's friday, and this seems like a good idea, and they're egging me on in IRC.
-rw-r--r--src/common/torint.h2
-rw-r--r--src/or/or.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/common/torint.h b/src/common/torint.h
index 0b8061d24f..fc7818fe2c 100644
--- a/src/common/torint.h
+++ b/src/common/torint.h
@@ -40,6 +40,8 @@
#include <inttypes.h>
#endif
+#include <stdbool.h>
+
#if (SIZEOF_INT8_T != 0)
#define HAVE_INT8_T
#endif
diff --git a/src/or/or.h b/src/or/or.h
index 3498e66579..4752743408 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -57,7 +57,6 @@
#ifdef HAVE_TIME_H
#include <time.h>
#endif
-#include <stdbool.h>
#ifdef _WIN32
#include <winsock2.h>