Directly include hidapi.h bundled with the hidapi source code
This commit is contained in:
@@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "hidapi.h"
|
#include "../hidapi/hidapi.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
#include <linux/input.h>
|
#include <linux/input.h>
|
||||||
#include <libudev.h>
|
#include <libudev.h>
|
||||||
|
|
||||||
#include "hidapi.h"
|
#include "../hidapi/hidapi.h"
|
||||||
|
|
||||||
#ifdef HIDAPI_ALLOW_BUILD_WORKAROUND_KERNEL_2_6_39
|
#ifdef HIDAPI_ALLOW_BUILD_WORKAROUND_KERNEL_2_6_39
|
||||||
/* This definitions first appeared in Linux Kernel 2.6.39 in linux/hidraw.h.
|
/* This definitions first appeared in Linux Kernel 2.6.39 in linux/hidraw.h.
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "hidapi.h"
|
#include "../hidapi/hidapi.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
#include <guiddef.h>
|
#include <guiddef.h>
|
||||||
|
|
||||||
#include "hidapi.h"
|
#include "../hidapi/hidapi.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|||||||
Reference in New Issue
Block a user