diff options
Diffstat (limited to 'src/mesa/main/context.h')
-rw-r--r-- | src/mesa/main/context.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mesa/main/context.h b/src/mesa/main/context.h index a9df0a866a7..a66dd507670 100644 --- a/src/mesa/main/context.h +++ b/src/mesa/main/context.h @@ -53,6 +53,11 @@ #include "mtypes.h" +#ifdef __cplusplus +extern "C" { +#endif + + struct _glapi_table; @@ -285,5 +290,9 @@ do { \ /*@}*/ +#ifdef __cplusplus +} +#endif + #endif /* CONTEXT_H */ |