mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
cmake: Replace sys/types.h usage with stdint.h with CheckUSBHID
(cherry picked from commit d4d66e77cc)
This commit is contained in:
parent
3a54ca75cf
commit
8ed4f46db0
1 changed files with 3 additions and 3 deletions
|
|
@ -1141,7 +1141,7 @@ macro(CheckUSBHID)
|
|||
string(APPEND CMAKE_REQUIRED_FLAGS " ${USB_CFLAGS}")
|
||||
list(APPEND CMAKE_REQUIRED_LIBRARIES ${USB_LIBS})
|
||||
check_c_source_compiles("
|
||||
#include <sys/types.h>
|
||||
#include <stdint.h>
|
||||
#if defined(HAVE_USB_H)
|
||||
#include <usb.h>
|
||||
#endif
|
||||
|
|
@ -1167,7 +1167,7 @@ macro(CheckUSBHID)
|
|||
}" HAVE_USBHID)
|
||||
if(HAVE_USBHID)
|
||||
check_c_source_compiles("
|
||||
#include <sys/types.h>
|
||||
#include <stdint.h>
|
||||
#if defined(HAVE_USB_H)
|
||||
#include <usb.h>
|
||||
#endif
|
||||
|
|
@ -1195,7 +1195,7 @@ macro(CheckUSBHID)
|
|||
endif()
|
||||
|
||||
check_c_source_compiles("
|
||||
#include <sys/types.h>
|
||||
#include <stdint.h>
|
||||
#if defined(HAVE_USB_H)
|
||||
#include <usb.h>
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue