aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_control_flow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_control_flow.h')
-rw-r--r--src/compiler/nir/nir_control_flow.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/compiler/nir/nir_control_flow.h b/src/compiler/nir/nir_control_flow.h
index b496aec035a..a487eb04660 100644
--- a/src/compiler/nir/nir_control_flow.h
+++ b/src/compiler/nir/nir_control_flow.h
@@ -25,9 +25,10 @@
*
*/
-#include "nir.h"
+#ifndef NIR_CONTROL_FLOW_H
+#define NIR_CONTROL_FLOW_H
-#pragma once
+#include "nir.h"
#ifdef __cplusplus
extern "C" {
@@ -163,3 +164,5 @@ nir_cf_node_remove(nir_cf_node *node)
#ifdef __cplusplus
}
#endif
+
+#endif /* NIR_CONTROL_FLOW_H */