Browse Source

Directly include hidapi.h bundled with the hidapi source code

Sam Lantinga 1 year ago
parent
commit
2004304348

+ 1 - 1
src/hidapi/libusb/hidapi_libusb.h

@@ -28,7 +28,7 @@
 
 #include <stdint.h>
 
-#include "hidapi.h"
+#include "../hidapi/hidapi.h"
 
 #ifdef __cplusplus
 extern "C" {

+ 1 - 1
src/hidapi/linux/hid.c

@@ -42,7 +42,7 @@
 #include <linux/input.h>
 #include <libudev.h>
 
-#include "hidapi.h"
+#include "../hidapi/hidapi.h"
 
 #ifdef HIDAPI_ALLOW_BUILD_WORKAROUND_KERNEL_2_6_39
 /* This definitions first appeared in Linux Kernel 2.6.39 in linux/hidraw.h.

+ 1 - 1
src/hidapi/mac/hidapi_darwin.h

@@ -28,7 +28,7 @@
 
 #include <stdint.h>
 
-#include "hidapi.h"
+#include "../hidapi/hidapi.h"
 
 #ifdef __cplusplus
 extern "C" {

+ 1 - 1
src/hidapi/windows/hidapi_winapi.h

@@ -30,7 +30,7 @@
 
 #include <guiddef.h>
 
-#include "hidapi.h"
+#include "../hidapi/hidapi.h"
 
 #ifdef __cplusplus
 extern "C" {