summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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