aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/api_exec.h
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/main/api_exec.h')
-rw-r--r--mesalib/src/mesa/main/api_exec.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/mesalib/src/mesa/main/api_exec.h b/mesalib/src/mesa/main/api_exec.h
index ff35b78bb..1e4a9d61a 100644
--- a/mesalib/src/mesa/main/api_exec.h
+++ b/mesalib/src/mesa/main/api_exec.h
@@ -26,6 +26,9 @@
#ifndef API_EXEC_H
#define API_EXEC_H
+#ifdef __cplusplus
+extern "C" {
+#endif
struct _glapi_table;
struct gl_context;
@@ -39,4 +42,8 @@ _mesa_initialize_exec_table(struct gl_context *ctx);
extern void
_mesa_initialize_dispatch_tables(struct gl_context *ctx);
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif