The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=230efeda080f09bc282f50a7a4cfc337fd7c6d0d
commit 230efeda080f09bc282f50a7a4cfc337fd7c6d0d Author: Andreas Kempe <ke...@lysator.liu.se> AuthorDate: 2022-07-10 20:51:48 +0000 Commit: Ed Maste <ema...@freebsd.org> CommitDate: 2024-06-06 14:09:05 +0000 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 <stdint.h> 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_ */