aboutsummaryrefslogtreecommitdiff
path: root/lib/libusb/libusb01.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libusb/libusb01.c')
-rw-r--r--lib/libusb/libusb01.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libusb/libusb01.c b/lib/libusb/libusb01.c
index 17edb0e7df93..30a143001b29 100644
--- a/lib/libusb/libusb01.c
+++ b/lib/libusb/libusb01.c
@@ -28,11 +28,16 @@
* This file contains the emulation layer for LibUSB v0.1 from sourceforge.
*/
-#include <sys/queue.h>
-
+#ifdef LIBUSB_GLOBAL_INCLUDE_FILE
+#include LIBUSB_GLOBAL_INCLUDE_FILE
+#else
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
+#include <time.h>
+#include <sys/queue.h>
+#endif
#include "libusb20.h"
#include "libusb20_desc.h"