summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjcs <jcs@openbsd.org>2016-01-09 04:10:36 +0000
committerjcs <jcs@openbsd.org>2016-01-09 04:10:36 +0000
commitab457f59d8d9948c3b12601c3b4745482b9859a9 (patch)
treef00bfa9c7832764d2b2a80dfaac2ac2630eafa7b
parentrevert previous now that they are found in usbhid.h again (diff)
downloadwireguard-openbsd-ab457f59d8d9948c3b12601c3b4745482b9859a9.tar.xz
wireguard-openbsd-ab457f59d8d9948c3b12601c3b4745482b9859a9.zip
include dev/hid/hid.h from dev/usb/usbhid.h, so all previous users
of it get the HID framework as they used to
-rw-r--r--sys/dev/usb/usbhid.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/usb/usbhid.h b/sys/dev/usb/usbhid.h
index fe7d46285fd..f85ab9fb0fc 100644
--- a/sys/dev/usb/usbhid.h
+++ b/sys/dev/usb/usbhid.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: usbhid.h,v 1.20 2016/01/09 02:01:06 jcs Exp $ */
+/* $OpenBSD: usbhid.h,v 1.21 2016/01/09 04:10:36 jcs Exp $ */
/* $NetBSD: usbhid.h,v 1.11 2001/12/28 00:20:24 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/usbhid.h,v 1.7 1999/11/17 22:33:51 n_hibma Exp $ */
@@ -36,6 +36,8 @@
#ifndef _USBHID_H_
#define _USBHID_H_
+#include <dev/hid/hid.h>
+
#define UR_GET_HID_DESCRIPTOR 0x06
#define UDESC_HID 0x21
#define UDESC_REPORT 0x22