summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_array.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_array.h')
-rw-r--r--src/compiler/nir/nir_array.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_array.h b/src/compiler/nir/nir_array.h
index 1db4e8cea36..4d7a532a7f1 100644
--- a/src/compiler/nir/nir_array.h
+++ b/src/compiler/nir/nir_array.h
@@ -25,7 +25,8 @@
*
*/
-#pragma once
+#ifndef NIR_ARRAY_H
+#define NIR_ARRAY_H
#ifdef __cplusplus
extern "C" {
@@ -94,3 +95,5 @@ nir_array_grow(nir_array *arr, size_t additional)
#ifdef __cplusplus
} /* extern "C" */
#endif
+
+#endif /* NIR_ARRAY_H */