diff --git a/software/src/digilivolo.c b/software/src/digilivolo.c index 59d4a61..296bd57 100644 --- a/software/src/digilivolo.c +++ b/software/src/digilivolo.c @@ -33,6 +33,10 @@ #define dl_sleep_ms(ms) usleep(ms * 1000) #endif +#if defined(__APPLE__) && HID_API_VERSION >= HID_API_MAKE_VERSION(0, 12, 0) +#include +#endif + #include "defs.h" #include "args.h"