Directly include hidapi.h bundled with the hidapi source code

This commit is contained in:
Sam Lantinga
2023-05-24 08:16:07 -07:00
parent 3b7b8f3c09
commit 2004304348
4 changed files with 4 additions and 4 deletions

View File

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

View File

@@ -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.

View File

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

View File

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