aboutsummaryrefslogtreecommitdiff
path: root/eizoctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'eizoctl.c')
-rw-r--r--eizoctl.c4
1 files changed, 4 insertions, 0 deletions
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