glsl: Add missing include guards
authorMichał Janiszewski <janisozaur+signed@gmail.com>
Mon, 29 Oct 2018 21:51:00 +0000 (15:51 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 30 Oct 2018 12:19:09 +0000 (06:19 -0600)
Signed-off-by: Michał Janiszewski <janisozaur+signed@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/compiler/glsl/ir_builder.h

index ff1ff709c9a96a82a139b7a0b7f099e12f723d9e..9309039f9deaaa8e89c225f9a68294a154ffe036 100644 (file)
@@ -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