From: Michał Janiszewski Date: Mon, 29 Oct 2018 21:51:00 +0000 (-0600) Subject: glsl: Add missing include guards X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=06544509119c2ea022f6302502953fd6eda6172c;p=mesa.git glsl: Add missing include guards Signed-off-by: Michał Janiszewski Reviewed-by: Brian Paul --- 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