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.
This commit is contained in:
maya 2018-07-15 18:36:51 +00:00
parent 76a6e94187
commit e53eb02445
1 changed files with 3 additions and 1 deletions

View File

@ -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