diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/imports.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h index 2f5c38f046d..0915fc7b821 100644 --- a/src/mesa/main/imports.h +++ b/src/mesa/main/imports.h @@ -1,4 +1,4 @@ -/* $Id: imports.h,v 1.14 2003/03/02 19:36:09 brianp Exp $ */ +/* $Id: imports.h,v 1.15 2003/03/02 19:38:24 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -35,6 +35,11 @@ #define IMPORTS_H +#ifdef __cplusplus +extern "C" { +#endif + + /* XXX some of the stuff in glheader.h should be moved into this file. */ #include "glheader.h" @@ -648,5 +653,9 @@ extern void _mesa_init_default_imports( __GLimports *imports, void *driverCtx ); -#endif /* IMPORTS_H */ +#ifdef __cplusplus +} +#endif + +#endif /* IMPORTS_H */ |