aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mapi/glapi/glapi_priv.h
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mapi/glapi/glapi_priv.h')
-rwxr-xr-x[-rw-r--r--]mesalib/src/mapi/glapi/glapi_priv.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/mesalib/src/mapi/glapi/glapi_priv.h b/mesalib/src/mapi/glapi/glapi_priv.h
index cb4cb5b97..331435050 100644..100755
--- a/mesalib/src/mapi/glapi/glapi_priv.h
+++ b/mesalib/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
@@ -95,4 +99,8 @@ get_entrypoint_address(unsigned int functionOffset);
#endif
+
+#ifdef __cplusplus
+}
+#endif
#endif