aboutsummaryrefslogtreecommitdiff
path: root/lib/libusb/usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libusb/usb.h')
-rw-r--r--lib/libusb/usb.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libusb/usb.h b/lib/libusb/usb.h
index dc3959e17f81..d7bbaa558279 100644
--- a/lib/libusb/usb.h
+++ b/lib/libusb/usb.h
@@ -27,10 +27,11 @@
#ifndef _LIBUSB20_COMPAT_01_H_
#define _LIBUSB20_COMPAT_01_H_
+#ifndef LIBUSB_GLOBAL_INCLUDE_FILE
+#include <stdint.h>
#include <sys/param.h>
#include <sys/endian.h>
-
-#include <stdint.h>
+#endif
/* USB interface class codes */