diff options
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/extensions.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/main/extensions.h b/src/mesa/main/extensions.h index b5e03507231..43ef6aa6451 100644 --- a/src/mesa/main/extensions.h +++ b/src/mesa/main/extensions.h @@ -38,6 +38,10 @@ #include "glheader.h" +#ifdef __cplusplus +extern "C" { +#endif + struct gl_context; struct gl_extensions; @@ -102,4 +106,8 @@ _mesa_has_##name_str(const struct gl_context *ctx) \ extern struct gl_extensions _mesa_extension_override_enables; extern struct gl_extensions _mesa_extension_override_disables; +#ifdef __cplusplus +} +#endif + #endif |