summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ir_array_refcount.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/ir_array_refcount.h')
-rw-r--r--src/compiler/glsl/ir_array_refcount.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler/glsl/ir_array_refcount.h b/src/compiler/glsl/ir_array_refcount.h
index 46ba36cbaa0..ef3fbaa368d 100644
--- a/src/compiler/glsl/ir_array_refcount.h
+++ b/src/compiler/glsl/ir_array_refcount.h
@@ -27,6 +27,9 @@
* Provides a visitor which produces a list of variables referenced.
*/
+#ifndef GLSL_IR_ARRAY_REFCOUNT_H
+#define GLSL_IR_ARRAY_REFCOUNT_H
+
#include "ir.h"
#include "ir_visitor.h"
#include "compiler/glsl_types.h"
@@ -181,3 +184,5 @@ private:
unsigned derefs_size;
/*@}*/
};
+
+#endif /* GLSL_IR_ARRAY_REFCOUNT_H */