mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-11 10:03:49 +00:00
usbbus: Include stdint.h for uintX_t
stdint.h is needed for uintX_t typedefs which are used to replace u_intX_t in libusb API headers in the cmake files Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -35,6 +35,7 @@
|
|||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
// Under POSIX system, we use libusb (>= 0.1.12)
|
// Under POSIX system, we use libusb (>= 0.1.12)
|
||||||
|
#include <stdint.h>
|
||||||
#include <usb.h>
|
#include <usb.h>
|
||||||
#define USB_TIMEDOUT ETIMEDOUT
|
#define USB_TIMEDOUT ETIMEDOUT
|
||||||
#define _usb_strerror( X ) strerror(-X)
|
#define _usb_strerror( X ) strerror(-X)
|
||||||
|
|||||||
Reference in New Issue
Block a user