diff options
Diffstat (limited to 'src/glx/glxextensions.h')
-rw-r--r-- | src/glx/glxextensions.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/glx/glxextensions.h b/src/glx/glxextensions.h index 906b3fc16c0..743ed97fec3 100644 --- a/src/glx/glxextensions.h +++ b/src/glx/glxextensions.h @@ -31,6 +31,10 @@ #ifndef GLX_GLXEXTENSIONS_H #define GLX_GLXEXTENSIONS_H +#ifdef __cplusplus +extern "C" { +#endif + enum { ARB_create_context_bit = 0, @@ -303,4 +307,8 @@ typedef void (*PFNGLXDISABLEEXTENSIONPROC) (const char *name); # endif /* __GNUC__ */ #endif /* GLX_NO_STATIC_EXTENSION_FUNCTIONS */ +#ifdef __cplusplus +} +#endif + #endif /* GLX_GLXEXTENSIONS_H */ |