summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_shader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/compiler/brw_shader.h')
-rw-r--r--src/intel/compiler/brw_shader.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_shader.h b/src/intel/compiler/brw_shader.h
index 89e2776776e..30e7bf75c58 100644
--- a/src/intel/compiler/brw_shader.h
+++ b/src/intel/compiler/brw_shader.h
@@ -21,7 +21,8 @@
* IN THE SOFTWARE.
*/
-#pragma once
+#ifndef BRW_SHADER_H
+#define BRW_SHADER_H
#include <stdint.h>
#include "brw_reg.h"
@@ -288,3 +289,5 @@ unsigned get_atomic_counter_op(nir_intrinsic_op op);
#ifdef __cplusplus
}
#endif
+
+#endif /* BRW_SHADER_H */