diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2024-11-25 13:47:06 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2024-11-26 00:59:31 +0100 |
commit | 46f83a033f14400d7f06f684bb1e4a604a41cfe5 (patch) | |
tree | 1f3302f02a7f6aff2e08b5b6193ee7822f7581fa /eizoctl.c | |
parent | 2a0cac2b42418944cb9b054a462daa20bd7b76d1 (diff) | |
download | usb-drivers-46f83a033f14400d7f06f684bb1e4a604a41cfe5.tar.gz usb-drivers-46f83a033f14400d7f06f684bb1e4a604a41cfe5.tar.xz usb-drivers-46f83a033f14400d7f06f684bb1e4a604a41cfe5.zip |
Improve OpenBSD build compatibility
It still doesn't build, though, because 7.6 doesn't have 0.14 yet.
Diffstat (limited to 'eizoctl.c')
-rw-r--r-- | eizoctl.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |