Skip to content

Commit

Permalink
libusbhid: add missing include guards
Browse files Browse the repository at this point in the history
PR:		265136
  • Loading branch information
andkem authored and emaste committed Jun 6, 2024
1 parent dc3ee89 commit 230efed
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/libusbhid/usbhid.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
*
*/

#ifndef _USBHID_H_
#define _USBHID_H_

#include <stdint.h>

typedef struct report_desc *report_desc_t;
Expand Down Expand Up @@ -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_ */

0 comments on commit 230efed

Please sign in to comment.