summaryrefslogtreecommitdiff
path: root/ir.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-03-15 15:20:15 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-03-15 15:20:15 -0700
commite309a6051d1a04ee581f0a47c6c585918fba1096 (patch)
treeb82829a08314add533843210ddb5030e3c6c6674 /ir.h
parent5c2bd09888394190e30f89ccd39177caaf0e3353 (diff)
Add multiple include protection to ir.h
Diffstat (limited to 'ir.h')
-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 */