Module Name: src
Committed By: maya
Date: Sun Jul 15 18:36:51 UTC 2018
Modified Files:
src/sys/dev/usb: usbhid.h
Log Message:
Side-load dev/hid/hid.h to restore the previous visibility of macros
like HUP_GENERIC_DESKTOP.
This header is user-visible and used by third party code. with this
change we don't need to modify pkgsrc/emulators/vice to know about
new headers in -current. Other users probably exist.
ok xtos.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/usb/usbhid.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/usb/usbhid.h
diff -u src/sys/dev/usb/usbhid.h:1.17 src/sys/dev/usb/usbhid.h:1.18
--- src/sys/dev/usb/usbhid.h:1.17 Sun Dec 10 17:03:07 2017
+++ src/sys/dev/usb/usbhid.h Sun Jul 15 18:36:51 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: usbhid.h,v 1.17 2017/12/10 17:03:07 bouyer Exp $ */
+/* $NetBSD: usbhid.h,v 1.18 2018/07/15 18:36:51 maya Exp $ */
/* $FreeBSD: src/sys/dev/usb/usbhid.h,v 1.7 1999/11/17 22:33:51 n_hibma Exp $ */
/*
@@ -35,6 +35,8 @@
#ifndef _DEV_USB_USBHID_H_
#define _DEV_USB_USBHID_H_
+#include <dev/hid/hid.h>
+
#define UR_GET_HID_DESCRIPTOR 0x06
#define UDESC_HID 0x21
#define UDESC_REPORT 0x22