regenerate the headers
[platform/upstream/SPIRV-Headers.git] / include / spirv / unified1 / spirv.hpp11
index f1fd764..8ed05d3 100644 (file)
@@ -1839,6 +1839,9 @@ enum class Op : unsigned {
 };
 
 #ifdef SPV_ENABLE_UTILITY_CODE
+#if !defined(__cplusplus) && !defined(bool)
+# include <stdbool.h>
+#endif
 inline void HasResultAndType(Op opcode, bool *hasResult, bool *hasResultType) {
     *hasResult = *hasResultType = false;
     switch (opcode) {