Browse Source

Move stdbool include to torint.h

It's friday, and this seems like a good idea, and they're egging me
on in IRC.
Nick Mathewson 6 years ago
parent
commit
cb0af6157c
2 changed files with 2 additions and 1 deletions
  1. 2 0
      src/common/torint.h
  2. 0 1
      src/or/or.h

+ 2 - 0
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

+ 0 - 1
src/or/or.h

@@ -57,7 +57,6 @@
 #ifdef HAVE_TIME_H
 #include <time.h>
 #endif
-#include <stdbool.h>
 
 #ifdef _WIN32
 #include <winsock2.h>