summaryrefslogtreecommitdiff
path: root/src/class/hid/hid.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/class/hid/hid.h')
-rw-r--r--src/class/hid/hid.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/class/hid/hid.h b/src/class/hid/hid.h
index d2803177b..0008e47fb 100644
--- a/src/class/hid/hid.h
+++ b/src/class/hid/hid.h
@@ -49,6 +49,10 @@
extern "C" {
#endif
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wpacked"
+#pragma GCC diagnostic ignored "-Wattributes"
+
//--------------------------------------------------------------------+
// Common Definitions
//--------------------------------------------------------------------+
@@ -609,6 +613,7 @@ enum
HID_USAGE_CONSUMER_AC_PAN = 0x0238,
};
+#pragma GCC diagnostic pop
#ifdef __cplusplus
}