From 7e33ed7daa00f7469d1bda10cc2b915c5aea6e6c Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Mon, 28 Jan 2019 14:43:23 +0100 Subject: testing/hidapi: Fixed build --- testing/hidapi/libusb_include_path.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 testing/hidapi/libusb_include_path.patch (limited to 'testing/hidapi/libusb_include_path.patch') 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 + + /* GNU / LibUSB */ +-#include "libusb.h" ++#include "libusb-1.0/libusb.h" + #include "iconv.h" + + #include "hidapi.h" -- cgit v1.2.3