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 5acf611e7464687f15baab8652e9e6fd8bb9fd3d..c7fd981200ff99feeb0dae208cbef4d58073d849 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 */