--- a/src/pvr2/glutil.h Sat Jun 14 11:54:15 2008 +0000 +++ b/src/pvr2/glutil.h Mon Jan 26 07:26:24 2009 +0000 @@ -22,6 +22,10 @@ #include #include "display.h" +#ifdef __cplusplus +extern "C" { +#endif + /** * Test if a specific extension is supported. From opengl.org * @param extension extension name to check for @@ -52,4 +56,8 @@ extern const char *glsl_vertex_shader_src; extern const char *glsl_fragment_shader_src; +#ifdef __cplusplus +} +#endif + #endif /* !lxdream_glutil_H */