--- include/gavl/clock_nanosleep.h.orig 2025-05-13 00:14:26.000000000 +0800 +++ include/gavl/clock_nanosleep.h 2025-05-13 00:17:09.000000000 +0800 @@ -3,6 +3,7 @@ #include #include +#include #ifdef __APPLE__ // macOS <10.12 doesn't have clockid_t / CLOCK_MONOTONIC