author | Sam Lantinga <slouken@libsdl.org> |
Sat, 10 Oct 2009 09:44:04 +0000 | |
changeset 3367 | 7a7a61a1484d |
parent 3366 | 8cd9ed45c020 |
child 3368 | ca6f355e44b2 |
--- a/src/joystick/bsd/SDL_sysjoystick.c Sat Oct 10 09:36:12 2009 +0000 +++ b/src/joystick/bsd/SDL_sysjoystick.c Sat Oct 10 09:44:04 2009 +0000 @@ -36,6 +36,10 @@ #include <fcntl.h> #include <errno.h> +#ifndef __FreeBSD_kernel_version +#define __FreeBSD_kernel_version __FreeBSD_version +#endif + #if defined(HAVE_USB_H) #include <usb.h> #endif