summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_loop_analyze.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_loop_analyze.h')
-rw-r--r--src/compiler/nir/nir_loop_analyze.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_loop_analyze.h b/src/compiler/nir/nir_loop_analyze.h
index b7f862e8c04..18c23051717 100644
--- a/src/compiler/nir/nir_loop_analyze.h
+++ b/src/compiler/nir/nir_loop_analyze.h
@@ -21,7 +21,8 @@
* IN THE SOFTWARE.
*/
-#pragma once
+#ifndef NIR_LOOP_ANALYZE_H
+#define NIR_LOOP_ANALYZE_H
#include "nir.h"
@@ -90,3 +91,5 @@ nir_is_trivial_loop_if(nir_if *nif, nir_block *break_block)
return true;
}
+
+#endif /* NIR_LOOP_ANALYZE_H */