diff options
author | Jose Fonseca <[email protected]> | 2016-04-26 19:48:12 +0100 |
---|---|---|
committer | Jose Fonseca <[email protected]> | 2016-04-26 21:28:34 +0100 |
commit | 52c7443932bd38d6708fcab2a8dfcc7ed3d678f2 (patch) | |
tree | 4a26c06135a268d3d3220cce432052f5596bba00 /src/glx/glxclient.h | |
parent | 80e5fb60b40c491acd182dc451236b71e55c11ea (diff) |
glx: Don't enclose includes inside `extern "C" { }`.
Ran `make check` inside src/glx to verify everything compiles and links
correctly.
https://bugs.freedesktop.org/show_bug.cgi?id=95158
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/glx/glxclient.h')
-rw-r--r-- | src/glx/glxclient.h | 9 |
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__ */ |