summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/glapi_priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapi/glapi/glapi_priv.h')
-rw-r--r--src/mapi/glapi/glapi_priv.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mapi/glapi/glapi_priv.h b/src/mapi/glapi/glapi_priv.h
index 50f710edc8a..337913acc71 100644
--- a/src/mapi/glapi/glapi_priv.h
+++ b/src/mapi/glapi/glapi_priv.h
@@ -49,6 +49,10 @@ typedef void *GLeglImageOES;
#include "glapi/glapi.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* getproc */
extern void
@@ -106,4 +110,8 @@ get_entrypoint_address(unsigned int functionOffset);
#define MAX_EXTENSION_FUNCS 256
+#ifdef __cplusplus
+}
+#endif
+
#endif