diff --git a/src/hammer.h b/src/hammer.h
index 771577471bc43e1aa29989b111606f3bdc588165..16bff4d1fc3910651a41e9081efedd4bfadbca38 100644
--- a/src/hammer.h
+++ b/src/hammer.h
@@ -20,6 +20,7 @@
 #ifndef HAMMER_INTERNAL__NO_STDARG_H
 #include <stdarg.h>
 #endif // HAMMER_INTERNAL__NO_STDARG_H
+#include <stdbool.h>
 #include <stdint.h>
 #include <stdio.h>
 #include "allocator.h"
@@ -34,7 +35,6 @@ extern "C" {
 #endif
 
 #ifndef __cplusplus
-#include <stdbool.h>
   //#ifndef HAMMER_INTERNAL__NO_STDARG_H
   //typedef int bool;
   //#endif // HAMMER_INTERNAL__NO_STDARG_H