summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usbhid.h
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>2000-07-06 08:37:34 +0000
committerroberto <roberto@FreeBSD.org>2000-07-06 08:37:34 +0000
commit1395ba12a528eb772393af5a51cdac7fb6267101 (patch)
tree04c133725529a641604cbaef5930ca6a02761c2a /sys/dev/usb/usbhid.h
parente71baf238347f693e21bd2809bc3954cc985dd43 (diff)
downloadFreeBSD-src-1395ba12a528eb772393af5a51cdac7fb6267101.zip
FreeBSD-src-1395ba12a528eb772393af5a51cdac7fb6267101.tar.gz
Fix buildworld.
Diffstat (limited to 'sys/dev/usb/usbhid.h')
-rw-r--r--sys/dev/usb/usbhid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/usb/usbhid.h b/sys/dev/usb/usbhid.h
index f8f28dc..a662f85 100644
--- a/sys/dev/usb/usbhid.h
+++ b/sys/dev/usb/usbhid.h
@@ -54,6 +54,8 @@
#define UR_GET_PROTOCOL 0x03
#define UR_SET_PROTOCOL 0x0b
+#define UPACKED __attribute__ ((packed))
+
typedef struct usb_hid_descriptor {
uByte bLength;
uByte bDescriptorType;
OpenPOWER on IntegriCloud