src/joystick/bsd/SDL_sysjoystick.c
changeset 403 8d431937739d
parent 402 7efee6e36f00
child 404 cbb346aca05d
equal deleted inserted replaced
402:7efee6e36f00 403:8d431937739d
    37 #include <unistd.h>
    37 #include <unistd.h>
    38 #include <fcntl.h>
    38 #include <fcntl.h>
    39 #include <string.h>
    39 #include <string.h>
    40 #include <errno.h>
    40 #include <errno.h>
    41 
    41 
       
    42 #if defined(HAVE_USB_H)
       
    43 #include <usb.h>
       
    44 #endif
    42 #include <dev/usb/usb.h>
    45 #include <dev/usb/usb.h>
    43 #include <dev/usb/usbhid.h>
    46 #include <dev/usb/usbhid.h>
    44 
    47 
    45 #if defined(HAVE_USBHID_H)
    48 #if defined(HAVE_USBHID_H)
    46 #include <usbhid.h>
    49 #include <usbhid.h>