--- a/src/drivers/joy_linux.h Thu Feb 14 14:08:32 2008 +0000 +++ b/src/drivers/joy_linux.h Mon Jul 14 07:44:42 2008 +0000 @@ -19,6 +19,10 @@ #ifndef lxdream_joy_linux_H #define lxdream_joy_linux_H +#ifdef __cplusplus +extern "C" { +#endif + /** * Initialize the linux joystick code, and scan for devices */ @@ -29,6 +33,8 @@ */ void linux_joystick_shutdown(); - +#ifdef __cplusplus +} +#endif #endif /* !lxdream_joy_linux_H */