Index: gl/glcanvas.h =================================================================== RCS file: /cvsroot/xforms/xforms/gl/glcanvas.h,v retrieving revision 1.3 diff -u -p -r1.3 glcanvas.h --- gl/glcanvas.h 20 Nov 2003 11:06:49 -0000 1.3 +++ gl/glcanvas.h 17 May 2004 09:19:53 -0000 @@ -1,6 +1,14 @@ #ifndef FL_GLCANVAS_H #define FL_GLCANVAS_H +#if defined(__cplusplus) +extern "C" +{ +#endif + +#include "forms.h" +#include + /* OpenGL canvases */ FL_EXPORT FL_OBJECT *fl_create_glcanvas( int type, @@ -71,5 +79,9 @@ FL_EXPORT Window fl_glwinopen( int w, int h ); + +#if defined(__cplusplus) +} +#endif #endif /* NOT FL_GLCANVAS_H */