From: Ian Romanick Date: Mon, 15 Mar 2010 22:20:15 +0000 (-0700) Subject: Add multiple include protection to ir.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e309a6051d1a04ee581f0a47c6c585918fba1096;p=mesa.git Add multiple include protection to ir.h --- diff --git a/ir.h b/ir.h index 5acf611e746..c7fd981200f 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 */