[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Move stdbool include to torint.h
commit cb0af6157c0acbd0a30c20f8f0a3b9d4d1f402ad
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Fri Apr 27 15:08:27 2018 -0400
Move stdbool include to torint.h
It's friday, and this seems like a good idea, and they're egging me
on in IRC.
---
src/common/torint.h | 2 ++
src/or/or.h | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/common/torint.h b/src/common/torint.h
index 0b8061d24..fc7818fe2 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 3498e6657..475274340 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>
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits