|
@@ -3484,7 +3484,7 @@ CheckUSBHID()
|
|
|
AC_MSG_CHECKING(for usbhid)
|
|
AC_MSG_CHECKING(for usbhid)
|
|
|
have_usbhid=no
|
|
have_usbhid=no
|
|
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
|
|
- #include <sys/types.h>
|
|
|
|
|
|
|
+ #include <stdint.h>
|
|
|
#if defined(HAVE_USB_H)
|
|
#if defined(HAVE_USB_H)
|
|
|
#include <usb.h>
|
|
#include <usb.h>
|
|
|
#endif
|
|
#endif
|
|
@@ -3513,7 +3513,7 @@ 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_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
|
|
- #include <sys/types.h>
|
|
|
|
|
|
|
+ #include <stdint.h>
|
|
|
#if defined(HAVE_USB_H)
|
|
#if defined(HAVE_USB_H)
|
|
|
#include <usb.h>
|
|
#include <usb.h>
|
|
|
#endif
|
|
#endif
|
|
@@ -3543,7 +3543,7 @@ CheckUSBHID()
|
|
|
AC_MSG_CHECKING(for new usbhid API)
|
|
AC_MSG_CHECKING(for new usbhid API)
|
|
|
have_usbhid_new=no
|
|
have_usbhid_new=no
|
|
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
|
|
- #include <sys/types.h>
|
|
|
|
|
|
|
+ #include <stdint.h>
|
|
|
#if defined(HAVE_USB_H)
|
|
#if defined(HAVE_USB_H)
|
|
|
#include <usb.h>
|
|
#include <usb.h>
|
|
|
#endif
|
|
#endif
|