comparison src/joystick/bsd/SDL_sysjoystick.c @ 3367:7a7a61a1484d

Whoops, FreeBSD 6.2 doesn't define __FreeBSD_kernel_version
author Sam Lantinga <slouken@libsdl.org>
date Sat, 10 Oct 2009 09:44:04 +0000
parents 8cd9ed45c020
children 45d7f0f70b27
comparison
equal deleted inserted replaced
3366:8cd9ed45c020 3367:7a7a61a1484d
33 #include <sys/param.h> 33 #include <sys/param.h>
34 34
35 #include <unistd.h> 35 #include <unistd.h>
36 #include <fcntl.h> 36 #include <fcntl.h>
37 #include <errno.h> 37 #include <errno.h>
38
39 #ifndef __FreeBSD_kernel_version
40 #define __FreeBSD_kernel_version __FreeBSD_version
41 #endif
38 42
39 #if defined(HAVE_USB_H) 43 #if defined(HAVE_USB_H)
40 #include <usb.h> 44 #include <usb.h>
41 #endif 45 #endif
42 #ifdef __DragonFly__ 46 #ifdef __DragonFly__