summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Janiszewski <[email protected]>2018-10-29 15:51:00 -0600
committerBrian Paul <[email protected]>2018-10-30 06:19:09 -0600
commit06544509119c2ea022f6302502953fd6eda6172c (patch)
tree5a68a2ef3618dee18d53808d7ecf9678adc8cb6f
parentfddf384d1dec0a67b3862b590258997971d830e3 (diff)
glsl: Add missing include guards
Signed-off-by: Michał Janiszewski <[email protected]> Reviewed-by: Brian Paul <[email protected]>
-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