[Mesa-dev] [PATCH 1/4] glsl: Add missing include guards
janisozaur at gmail.com
janisozaur at gmail.com
Mon Oct 29 21:51:00 UTC 2018
From: Michał Janiszewski <janisozaur+signed at gmail.com>
Signed-off-by: Michał Janiszewski <janisozaur+signed at gmail.com>
---
src/compiler/glsl/ir_builder.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/compiler/glsl/ir_builder.h b/src/compiler/glsl/ir_builder.h
index ff1ff709c9..9309039f9d 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
--
2.19.1
More information about the mesa-dev
mailing list