From 46f83a033f14400d7f06f684bb1e4a604a41cfe5 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Mon, 25 Nov 2024 13:47:06 +0100 Subject: Improve OpenBSD build compatibility It still doesn't build, though, because 7.6 doesn't have 0.14 yet. --- eizoctl.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'eizoctl.c') diff --git a/eizoctl.c b/eizoctl.c index 7dc468d..eadb1e0 100644 --- a/eizoctl.c +++ b/eizoctl.c @@ -37,6 +37,10 @@ #undef PROGRAM_NAME #define PROGRAM_NAME "eizoctl" +#ifdef __OpenBSD__ +#define hid_init hidapi_hid_init +#endif + #if defined __GNUC__ #define ATTRIBUTE_PRINTF(x, y) __attribute__((format(printf, x, y))) #else -- cgit v1.2.3-70-g09d2