aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ir_variable_refcount.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/ir_variable_refcount.h')
-rw-r--r--src/compiler/glsl/ir_variable_refcount.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler/glsl/ir_variable_refcount.h b/src/compiler/glsl/ir_variable_refcount.h
index 0a8eec7a269..4a90f08c91f 100644
--- a/src/compiler/glsl/ir_variable_refcount.h
+++ b/src/compiler/glsl/ir_variable_refcount.h
@@ -29,6 +29,9 @@
* were defined in the scope.
*/
+#ifndef GLSL_IR_VARIABLE_REFCOUNT_H
+#define GLSL_IR_VARIABLE_REFCOUNT_H
+
#include "ir.h"
#include "ir_visitor.h"
#include "compiler/glsl_types.h"
@@ -84,3 +87,5 @@ public:
void *mem_ctx;
};
+
+#endif /* GLSL_IR_VARIABLE_REFCOUNT_H */