summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_nir.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/compiler/brw_nir.h')
-rw-r--r--src/intel/compiler/brw_nir.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_nir.h b/src/intel/compiler/brw_nir.h
index 76d7ec89f9b..b96072cf962 100644
--- a/src/intel/compiler/brw_nir.h
+++ b/src/intel/compiler/brw_nir.h
@@ -21,7 +21,8 @@
* IN THE SOFTWARE.
*/
-#pragma once
+#ifndef BRW_NIR_H
+#define BRW_NIR_H
#include "brw_reg.h"
#include "compiler/nir/nir.h"
@@ -152,3 +153,5 @@ bool brw_nir_opt_peephole_ffma(nir_shader *shader);
#ifdef __cplusplus
}
#endif
+
+#endif /* BRW_NIR_H */