From b1e82630b4ab06950af40a96f1324f69ddbce8cc 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 (cherry picked from commit 230efeda080f09bc282f50a7a4cfc337fd7c6d0d) (cherry picked from commit 7f0392e1c8a2832f045868b62f8840e73a2f21fa) --- 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_ */