summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/compiler/glsl/ir_builder.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler/glsl/ir_builder.h b/src/compiler/glsl/ir_builder.h
index ff1ff709c9a..9309039f9de 100644
--- a/src/compiler/glsl/ir_builder.h
+++ b/src/compiler/glsl/ir_builder.h
@@ -21,6 +21,9 @@
* IN THE SOFTWARE.
*/
+#ifndef IR_BUILDER_H
+#define IR_BUILDER_H
+
#include "ir.h"
namespace ir_builder {
@@ -236,3 +239,5 @@ ir_if *if_tree(operand condition,
ir_instruction *else_branch);
} /* namespace ir_builder */
+
+#endif