*** empty log message ***
authorSam Lantinga <slouken@libsdl.org>
Tue, 11 Jun 2002 20:06:42 +0000
changeset 404cbb346aca05d
parent 403 8d431937739d
child 405 b5de7389a0a5
*** empty log message ***
configure.in
src/joystick/bsd/SDL_sysjoystick.c
     1.1 --- a/configure.in	Tue Jun 11 19:56:41 2002 +0000
     1.2 +++ b/configure.in	Tue Jun 11 20:06:42 2002 +0000
     1.3 @@ -1565,6 +1565,7 @@
     1.4          AC_MSG_CHECKING(for usbhid)
     1.5          have_usbhid=no
     1.6          AC_TRY_COMPILE([
     1.7 +          #include <sys/types.h>
     1.8            #if defined(HAVE_USB_H)
     1.9            #include <usb.h>
    1.10            #endif
    1.11 @@ -1576,6 +1577,7 @@
    1.12            #include <libusb.h>
    1.13            #elif defined(HAVE_LIBUSBHID_H)
    1.14            #include <libusbhid.h>
    1.15 +          #endif
    1.16          ],[
    1.17            struct report_desc *repdesc;
    1.18            struct usb_ctl_report *repbuf;
    1.19 @@ -1589,9 +1591,12 @@
    1.20              AC_MSG_CHECKING(for ucr_data member of usb_ctl_report)
    1.21              have_usbhid_ucr_data=no
    1.22              AC_TRY_COMPILE([
    1.23 +              #include <sys/types.h>
    1.24 +              #if defined(HAVE_USB_H)
    1.25 +              #include <usb.h>
    1.26 +              #endif
    1.27                #include <dev/usb/usb.h>
    1.28                #include <dev/usb/usbhid.h>
    1.29 -              #include <stdio.h>
    1.30                #if defined(HAVE_USBHID_H)
    1.31                #include <usbhid.h>
    1.32                #elif defined(HAVE_LIBUSB_H)
     2.1 --- a/src/joystick/bsd/SDL_sysjoystick.c	Tue Jun 11 19:56:41 2002 +0000
     2.2 +++ b/src/joystick/bsd/SDL_sysjoystick.c	Tue Jun 11 20:06:42 2002 +0000
     2.3 @@ -32,6 +32,7 @@
     2.4   "@(#) $Id $";
     2.5  #endif
     2.6  
     2.7 +#include <sys/types.h>
     2.8  #include <stdio.h>
     2.9  #include <stdlib.h>
    2.10  #include <unistd.h>