aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_vla.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_vla.h')
-rw-r--r--src/compiler/nir/nir_vla.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/compiler/nir/nir_vla.h b/src/compiler/nir/nir_vla.h
index 753783316a2..d01c039cfd2 100644
--- a/src/compiler/nir/nir_vla.h
+++ b/src/compiler/nir/nir_vla.h
@@ -25,8 +25,8 @@
*
**************************************************************************/
-#pragma once
-
+#ifndef NIR_VLA_H
+#define NIR_VLA_H
#include "c99_alloca.h"
@@ -52,3 +52,5 @@
*/
#define NIR_VLA_ZERO(_type, _name, _length) \
NIR_VLA_FILL(_type, _name, _length, 0)
+
+#endif /* NIR_VLA_H */