Add multiple include protection to ir.h
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 15 Mar 2010 22:20:15 +0000 (15:20 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 15 Mar 2010 22:20:15 +0000 (15:20 -0700)
ir.h

diff --git a/ir.h b/ir.h
index 5acf611..c7fd981 100644 (file)
--- a/ir.h
+++ b/ir.h
  * 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 */