Use correct relative include path
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
diff --git a/src/hidapi/libusb/hid.c b/src/hidapi/libusb/hid.c
index a1ee7ea..fa1d588 100644
--- a/src/hidapi/libusb/hid.c
+++ b/src/hidapi/libusb/hid.c
@@ -40,7 +40,7 @@
#include <libusb.h>
#include <locale.h> /* setlocale */
-#include "hidapi.h"
+#include "../hidapi/hidapi.h"
#ifdef NAMESPACE
namespace NAMESPACE
diff --git a/src/hidapi/linux/hid.c b/src/hidapi/linux/hid.c
index 418dc0a..28e9847 100644
--- a/src/hidapi/linux/hid.c
+++ b/src/hidapi/linux/hid.c
@@ -50,7 +50,7 @@
#include <linux/input.h>
#include <libudev.h>
-#include "hidapi.h"
+#include "../hidapi/hidapi.h"
#ifdef NAMESPACE
namespace NAMESPACE
diff --git a/src/hidapi/mac/hid.c b/src/hidapi/mac/hid.c
index de97b04..e678c1a 100644
--- a/src/hidapi/mac/hid.c
+++ b/src/hidapi/mac/hid.c
@@ -33,7 +33,7 @@
#include <sys/time.h>
#include <unistd.h>
-#include "hidapi.h"
+#include "../hidapi/hidapi.h"
/* Barrier implementation because Mac OSX doesn't have pthread_barrier.
It also doesn't have clock_gettime(). So much for POSIX and SUSv2.