summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_instr_set.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_instr_set.h')
-rw-r--r--src/compiler/nir/nir_instr_set.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_instr_set.h b/src/compiler/nir/nir_instr_set.h
index 939e8ddbf58..26817f62e96 100644
--- a/src/compiler/nir/nir_instr_set.h
+++ b/src/compiler/nir/nir_instr_set.h
@@ -21,7 +21,8 @@
* IN THE SOFTWARE.
*/
-#pragma once
+#ifndef NIR_INSTR_SET_H
+#define NIR_INSTR_SET_H
#include "nir.h"
@@ -60,3 +61,4 @@ void nir_instr_set_remove(struct set *instr_set, nir_instr *instr);
/*@}*/
+#endif /* NIR_INSTR_SET_H */