regenerate the headers
[platform/upstream/SPIRV-Headers.git] / include / spirv / unified1 / spirv.h
index c15736e..4f2c8d0 100644 (file)
@@ -1843,6 +1843,9 @@ typedef enum SpvOp_ {
 } SpvOp;
 
 #ifdef SPV_ENABLE_UTILITY_CODE
+#if !defined(__cplusplus) && !defined(bool)
+# include <stdbool.h>
+#endif
 inline void SpvHasResultAndType(SpvOp opcode, bool *hasResult, bool *hasResultType) {
     *hasResult = *hasResultType = false;
     switch (opcode) {