include: fixup header inclusion
authorBrian Norris <banorris@uci.edu>
Wed, 20 Feb 2013 23:03:24 +0000 (15:03 -0800)
committerBrian Norris <banorris@uci.edu>
Wed, 20 Feb 2013 23:25:00 +0000 (15:25 -0800)
include/cmodelint.h
include/impatomic.h
include/memoryorder.h

index 232648c..24c5f6f 100644 (file)
@@ -5,6 +5,7 @@
 #ifndef CMODELINT_H
 #define CMODELINT_H
 #include <inttypes.h>
+#include "memoryorder.h"
 
 #if __cplusplus
 using std::memory_order;
index ed3afa7..60e5d36 100644 (file)
@@ -14,6 +14,8 @@
 
 #ifdef __cplusplus
 namespace std {
+#else
+#include <stdbool.h>
 #endif
 
 #define CPP0X( feature )
index 8c4c2a0..ba0dafd 100644 (file)
@@ -10,7 +10,6 @@
 namespace std {
 #else
 #include <stddef.h>
-#include <stdbool.h>
 #endif