X-Git-Url: http://git.archive.openwrt.org/?p=project%2Flibubox.git;a=blobdiff_plain;f=utils.c;h=5d9d5aa61347b146bf713540cfa935a81fd8cd2b;hp=e59002ed3062da8a210324d9d1baf9aabb81fdfc;hb=3b6181b63d80e77c04a52d7439a87850eea1fe78;hpb=7f671b1e68a6664b5baf3e3cffc1bb0880984267 diff --git a/utils.c b/utils.c index e59002e..5d9d5aa 100644 --- a/utils.c +++ b/utils.c @@ -56,7 +56,7 @@ void *__calloc_a(size_t len, ...) return ret; } -#ifdef __APPLE__ +#ifdef LIBUBOX_COMPAT_CLOCK_GETTIME #include /* host_get_clock_service() */ #include /* mach_port_deallocate() */ #include /* mach_host_self(), mach_task_self() */