--- a/src/drivers/video_nsgl.h Sun Jun 01 00:47:45 2008 +0000 +++ b/src/drivers/video_nsgl.h Mon Jul 14 07:44:42 2008 +0000 @@ -16,12 +16,16 @@ * GNU General Public License for more details. */ -#ifndef video_nsgl_H -#define video_nsgl_H +#ifndef lxdream_video_nsgl_H +#define lxdream_video_nsgl_H 1 #include #include "display.h" +#ifdef __cplusplus +extern "C" { +#endif + /** * Initialize the display driver by setting the appropriate methods * for NSGL support @@ -38,4 +42,8 @@ */ void video_nsgl_swap_buffers(); +#ifdef __cplusplus +} +#endif + #endif /* !video_nsgl_H */ \ No newline at end of file