Commit 3ae1a7a5 authored by Sam Lantinga's avatar Sam Lantinga

*** empty log message ***

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40405
parent 05049da4
...@@ -1565,6 +1565,7 @@ CheckUSBHID() ...@@ -1565,6 +1565,7 @@ CheckUSBHID()
AC_MSG_CHECKING(for usbhid) AC_MSG_CHECKING(for usbhid)
have_usbhid=no have_usbhid=no
AC_TRY_COMPILE([ AC_TRY_COMPILE([
#include <sys/types.h>
#if defined(HAVE_USB_H) #if defined(HAVE_USB_H)
#include <usb.h> #include <usb.h>
#endif #endif
...@@ -1576,6 +1577,7 @@ CheckUSBHID() ...@@ -1576,6 +1577,7 @@ CheckUSBHID()
#include <libusb.h> #include <libusb.h>
#elif defined(HAVE_LIBUSBHID_H) #elif defined(HAVE_LIBUSBHID_H)
#include <libusbhid.h> #include <libusbhid.h>
#endif
],[ ],[
struct report_desc *repdesc; struct report_desc *repdesc;
struct usb_ctl_report *repbuf; struct usb_ctl_report *repbuf;
...@@ -1589,9 +1591,12 @@ CheckUSBHID() ...@@ -1589,9 +1591,12 @@ CheckUSBHID()
AC_MSG_CHECKING(for ucr_data member of usb_ctl_report) AC_MSG_CHECKING(for ucr_data member of usb_ctl_report)
have_usbhid_ucr_data=no have_usbhid_ucr_data=no
AC_TRY_COMPILE([ AC_TRY_COMPILE([
#include <sys/types.h>
#if defined(HAVE_USB_H)
#include <usb.h>
#endif
#include <dev/usb/usb.h> #include <dev/usb/usb.h>
#include <dev/usb/usbhid.h> #include <dev/usb/usbhid.h>
#include <stdio.h>
#if defined(HAVE_USBHID_H) #if defined(HAVE_USBHID_H)
#include <usbhid.h> #include <usbhid.h>
#elif defined(HAVE_LIBUSB_H) #elif defined(HAVE_LIBUSB_H)
......
...@@ -32,6 +32,7 @@ static char rcsid = ...@@ -32,6 +32,7 @@ static char rcsid =
"@(#) $Id $"; "@(#) $Id $";
#endif #endif
#include <sys/types.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment