--- plugins/hid/linux/hidapi.cpp.orig 2023-06-30 08:12:36 UTC +++ plugins/hid/linux/hidapi.cpp @@ -38,9 +38,15 @@ #include /* Linux */ +#ifdef __FreeBSD__ +typedef uint32_t __u32; +#include +#include +#else #include #include #include +#endif #include #include "hidapi.h"