summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/ir_to_mesa.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/program/ir_to_mesa.h')
-rw-r--r--src/mesa/program/ir_to_mesa.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/program/ir_to_mesa.h b/src/mesa/program/ir_to_mesa.h
index c46d090b774..09446197b24 100644
--- a/src/mesa/program/ir_to_mesa.h
+++ b/src/mesa/program/ir_to_mesa.h
@@ -21,7 +21,8 @@
* DEALINGS IN THE SOFTWARE.
*/
-#pragma once
+#ifndef IR_TO_MESA_H
+#define IR_TO_MESA_H
#include "main/glheader.h"
@@ -51,3 +52,5 @@ _mesa_associate_uniform_storage(struct gl_context *ctx,
#ifdef __cplusplus
}
#endif
+
+#endif /* IR_TO_MESA_H */