#include <mach/mach.h>
#include <mach/clock.h>
-#include <errno.h>
+#include <common/compat/errno.h>
#undef NSEC_PER_SEC
#undef NSEC_PER_MSEC
goto deallocate;
}
- tp->tv_sec = now.tv_sec;
- tp->tv_nsec = now.tv_nsec;
+ tp->tv_sec = now.tv_sec;
+ tp->tv_nsec = now.tv_nsec;
deallocate:
mach_port_deallocate(mach_task_self(), clock);