From 2c0adb9ce2a34b922e969d1d8b7822e5856149b2 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 11 Jun 2002 20:06:42 +0000 Subject: [PATCH] *** empty log message *** --- configure.in | 7 ++++++- src/joystick/bsd/SDL_sysjoystick.c | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 4153fb251..a4eb7a1e9 100644 --- a/configure.in +++ b/configure.in @@ -1565,6 +1565,7 @@ CheckUSBHID() AC_MSG_CHECKING(for usbhid) have_usbhid=no AC_TRY_COMPILE([ + #include #if defined(HAVE_USB_H) #include #endif @@ -1576,6 +1577,7 @@ CheckUSBHID() #include #elif defined(HAVE_LIBUSBHID_H) #include + #endif ],[ struct report_desc *repdesc; struct usb_ctl_report *repbuf; @@ -1589,9 +1591,12 @@ CheckUSBHID() AC_MSG_CHECKING(for ucr_data member of usb_ctl_report) have_usbhid_ucr_data=no AC_TRY_COMPILE([ + #include + #if defined(HAVE_USB_H) + #include + #endif #include #include - #include #if defined(HAVE_USBHID_H) #include #elif defined(HAVE_LIBUSB_H) diff --git a/src/joystick/bsd/SDL_sysjoystick.c b/src/joystick/bsd/SDL_sysjoystick.c index 3bc20defb..9ba122c99 100644 --- a/src/joystick/bsd/SDL_sysjoystick.c +++ b/src/joystick/bsd/SDL_sysjoystick.c @@ -32,6 +32,7 @@ static char rcsid = "@(#) $Id $"; #endif +#include #include #include #include