summaryrefslogtreecommitdiffstats
path: root/src/glx/glxclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/glxclient.h')
-rw-r--r--src/glx/glxclient.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h
index 7a249281081..141e46a31cd 100644
--- a/src/glx/glxclient.h
+++ b/src/glx/glxclient.h
@@ -57,6 +57,11 @@
#include "glxextensions.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
#define GLX_MAJOR_VERSION 1 /* current version numbers */
#define GLX_MINOR_VERSION 4
@@ -824,4 +829,8 @@ indirect_create_context_attribs(struct glx_screen *base,
const uint32_t *attribs,
unsigned *error);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* !__GLX_client_h__ */