summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjcs <jcs@openbsd.org>2016-01-08 16:57:26 +0000
committerjcs <jcs@openbsd.org>2016-01-08 16:57:26 +0000
commit9b8ad5878cd3d81f9857d5201a0c8a1fcdd7ff64 (patch)
tree463544791554ccb15ce4cdf7cf28923ce47c8d12
parentprotect structs in hid.h with #ifdef _KERNEL, to allow inclusion in (diff)
downloadwireguard-openbsd-9b8ad5878cd3d81f9857d5201a0c8a1fcdd7ff64.tar.xz
wireguard-openbsd-9b8ad5878cd3d81f9857d5201a0c8a1fcdd7ff64.zip
pull in dev/hid/hid.h for moved HIO_* vars
-rw-r--r--lib/libusbhid/usbhid.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libusbhid/usbhid.h b/lib/libusbhid/usbhid.h
index ca70def6440..6ca4e654f7b 100644
--- a/lib/libusbhid/usbhid.h
+++ b/lib/libusbhid/usbhid.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: usbhid.h,v 1.6 2014/05/12 17:03:28 mpi Exp $ */
+/* $OpenBSD: usbhid.h,v 1.7 2016/01/08 16:57:26 jcs Exp $ */
/* $NetBSD: usbhid.h,v 1.1 2001/12/28 17:45:27 augustss Exp $ */
/*
@@ -27,6 +27,8 @@
* SUCH DAMAGE.
*/
+#include <dev/hid/hid.h>
+
typedef struct report_desc *report_desc_t;
typedef struct hid_data *hid_data_t;