Skip to content

Commit

Permalink
Software: fix building on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
N-Storm committed May 30, 2024
1 parent 911b565 commit e5d2059
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions software/src/digilivolo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 <hidapi_darwin.h>
#endif

#include "defs.h"
#include "args.h"

Expand Down

0 comments on commit e5d2059

Please sign in to comment.