summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ir.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ir.h b/ir.h
index 5acf611e74..c7fd981200 100644
--- a/ir.h
+++ b/ir.h
@@ -22,6 +22,10 @@
* DEALINGS IN THE SOFTWARE.
*/
+#pragma once
+#ifndef IR_H
+#define IR_H
+
#include "list.h"
#include "ir_visitor.h"
@@ -396,3 +400,5 @@ public:
extern void
_mesa_glsl_initialize_variables(exec_list *instructions,
struct _mesa_glsl_parse_state *state);
+
+#endif /* IR_H */