summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/prog_print.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/program/prog_print.h')
-rw-r--r--src/mesa/program/prog_print.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mesa/program/prog_print.h b/src/mesa/program/prog_print.h
index cd61568e9c7..9058dfa7688 100644
--- a/src/mesa/program/prog_print.h
+++ b/src/mesa/program/prog_print.h
@@ -31,6 +31,12 @@
#include "main/glheader.h"
#include "main/mtypes.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
struct gl_program;
struct gl_program_parameter_list;
struct gl_shader;
@@ -115,4 +121,9 @@ extern void
_mesa_append_uniforms_to_file(const struct gl_shader *shader);
+#ifdef __cplusplus
+}
+#endif
+
+
#endif /* PROG_PRINT_H */