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