Mercurial > sdl-ios-xcode
comparison src/joystick/bsd/SDL_sysjoystick.c @ 4306:aa6aac8a5243 SDL-1.2
Whoops, FreeBSD 6.2 doesn't define __FreeBSD_kernel_version
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 10 Oct 2009 09:43:08 +0000 |
parents | ecb22f65f0aa |
children | f4ee83767bfd |
comparison
equal
deleted
inserted
replaced
4305:ecb22f65f0aa | 4306:aa6aac8a5243 |
---|---|
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 #include <sys/param.h> | |
40 #ifndef __FreeBSD_kernel_version | |
41 #define __FreeBSD_kernel_version __FreeBSD_version | |
42 #endif | |
38 | 43 |
39 #if defined(HAVE_USB_H) | 44 #if defined(HAVE_USB_H) |
40 #include <usb.h> | 45 #include <usb.h> |
41 #endif | 46 #endif |
42 #ifdef __DragonFly__ | 47 #ifdef __DragonFly__ |