diff --git a/ndk/platforms/android-L/include/time.h b/ndk/platforms/android-L/include/time.h index 0a5f18be7..aa72fcc3b 100644 --- a/ndk/platforms/android-L/include/time.h +++ b/ndk/platforms/android-L/include/time.h @@ -85,8 +85,10 @@ extern void tzset(void) __LIBC_ABI_PUBLIC__; extern clock_t clock(void) __LIBC_ABI_PUBLIC__; -extern int clock_getres(int, struct timespec*) __LIBC_ABI_PUBLIC__; -extern int clock_gettime(int, struct timespec*) __LIBC_ABI_PUBLIC__; +extern int clock_getres(clockid_t, struct timespec*) __LIBC_ABI_PUBLIC__; +extern int clock_gettime(clockid_t, struct timespec*) __LIBC_ABI_PUBLIC__; +extern int clock_nanosleep(clockid_t, int, const struct timespec*, struct timespec*) __LIBC_ABI_PUBLIC__; +extern int clock_settime(clockid_t, const struct timespec*) __LIBC_ABI_PUBLIC__; extern int timer_create(int, struct sigevent*, timer_t*) __LIBC_ABI_PUBLIC__; extern int timer_delete(timer_t) __LIBC_ABI_PUBLIC__;