glx: Don't enclose includes inside `extern "C" { }`.
[mesa.git] / src / glx / glxclient.h
index 7a249281081d0319eb5242f47d52c44e4f25e2eb..141e46a31cda51d84cf5f65d879d081e70bcc749 100644 (file)
 #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__ */