aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hidapi/libusb_include_path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/hidapi/libusb_include_path.patch')
-rw-r--r--testing/hidapi/libusb_include_path.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/hidapi/libusb_include_path.patch b/testing/hidapi/libusb_include_path.patch
new file mode 100644
index 0000000000..2615d363a8
--- /dev/null
+++ b/testing/hidapi/libusb_include_path.patch
@@ -0,0 +1,12 @@
+diff -rupN hidapi-hidapi-0.8.0-rc1-old/libusb/hid.c hidapi-hidapi-0.8.0-rc1/libusb/hid.c
+--- hidapi-hidapi-0.8.0-rc1-old/libusb/hid.c 2019-01-23 10:46:10.388569561 +0100
++++ hidapi-hidapi-0.8.0-rc1/libusb/hid.c 2019-01-23 10:47:09.798295989 +0100
+@@ -44,7 +44,7 @@
+ #include <wchar.h>
+
+ /* GNU / LibUSB */
+-#include "libusb.h"
++#include "libusb-1.0/libusb.h"
+ #include "iconv.h"
+
+ #include "hidapi.h"