From 230efeda080f09bc282f50a7a4cfc337fd7c6d0d Mon Sep 17 00:00:00 2001 From: Andreas Kempe Date: Sun, 10 Jul 2022 22:51:48 +0200 Subject: [PATCH] libusbhid: add missing include guards PR: 265136 --- lib/libusbhid/usbhid.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/libusbhid/usbhid.h b/lib/libusbhid/usbhid.h index 15d4f1613746..637fb3d846f7 100644 --- a/lib/libusbhid/usbhid.h +++ b/lib/libusbhid/usbhid.h @@ -29,6 +29,9 @@ * */ +#ifndef _USBHID_H_ +#define _USBHID_H_ + #include typedef struct report_desc *report_desc_t; @@ -111,3 +114,5 @@ int hid_set_report(int fd, enum hid_kind k, unsigned char *data, unsigned int size); __END_DECLS + +#endif /* !_USBHID_H_ */