src/joystick/bsd/SDL_sysjoystick.c
changeset 3367 7a7a61a1484d
parent 3366 8cd9ed45c020
child 3385 45d7f0f70b27
--- 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