aboutsummaryrefslogtreecommitdiffstats
path: root/main/libusb-compat/fix-headers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/libusb-compat/fix-headers.patch')
-rw-r--r--main/libusb-compat/fix-headers.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/libusb-compat/fix-headers.patch b/main/libusb-compat/fix-headers.patch
new file mode 100644
index 00000000000..ea9cbc34978
--- /dev/null
+++ b/main/libusb-compat/fix-headers.patch
@@ -0,0 +1,10 @@
+--- libusb-compat-0.1.5.orig/libusb/usb.h
++++ libusb-compat-0.1.5/libusb/usb.h
+@@ -25,6 +25,7 @@
+ #ifndef __USB_H__
+ #define __USB_H__
+
++#include <sys/types.h>
+ #include <unistd.h>
+ #include <stdlib.h>
+ #include <limits.h>