summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/program.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/program.h')
-rw-r--r--src/compiler/glsl/program.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/glsl/program.h b/src/compiler/glsl/program.h
index 58a7069d479..480379b10b8 100644
--- a/src/compiler/glsl/program.h
+++ b/src/compiler/glsl/program.h
@@ -22,6 +22,8 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
+#ifndef GLSL_PROGRAM_H
+#define GLSL_PROGRAM_H
#ifdef __cplusplus
extern "C" {
@@ -57,3 +59,5 @@ linker_warning(struct gl_shader_program *prog, const char *fmt, ...)
extern long
parse_program_resource_name(const GLchar *name,
const GLchar **out_base_name_end);
+
+#endif /* GLSL_PROGRAM_H */