Commit db18764e412c65c33468990e684fa7995180d86c

Sam Lantinga 2021-10-01T16:27:59

Use correct relative include path

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.