diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2003-05-22 22:55:24 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2003-05-22 22:55:24 +0000 |
commit | 989c9fe00e59e3bab6f86435e1cf15177ded4bcf (patch) | |
tree | 5e1f9994e1965eaa86a71412ebfbf9b337987b8b /devel | |
parent | Included into XFree86 and obsoleted. (diff) |
Unbreak on pre-4.8.
PR: 52174
Submitted by: osa
Notes
Notes:
svn path=/head/; revision=81741
Diffstat (limited to 'devel')
-rw-r--r-- | devel/sdl12/files/patch-joystick::bsd::SDL_sysjoystick.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/sdl12/files/patch-joystick::bsd::SDL_sysjoystick.c b/devel/sdl12/files/patch-joystick::bsd::SDL_sysjoystick.c index 2f2959be06f8..ee2ae32df19b 100644 --- a/devel/sdl12/files/patch-joystick::bsd::SDL_sysjoystick.c +++ b/devel/sdl12/files/patch-joystick::bsd::SDL_sysjoystick.c @@ -44,7 +44,7 @@ -#ifdef USBHID_NEW +#ifdef __FreeBSD__ +# if (__FreeBSD_version >= 470000) -+# if (__FreeBSD_version <= 500111) ++# if ((__FreeBSD_version <= 500111) && (__FreeBSD_version >= 480000)) + len = hid_report_size(rd, r->rid, repinfo[repind].kind); +# else + len = hid_report_size(rd, repinfo[repind].kind, r->rid); |