summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/time.c')
-rw-r--r--libc/sysdeps/linux/common/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/time.c b/libc/sysdeps/linux/common/time.c
index 22403f174..d084ffaad 100644
--- a/libc/sysdeps/linux/common/time.c
+++ b/libc/sysdeps/linux/common/time.c
@@ -9,7 +9,7 @@
#include <sys/syscall.h>
#include <time.h>
-#ifdef __NR_time
+#if defined(__NR_time) && !defined(__UCLIBC_USE_TIME64__)
_syscall_noerr1(time_t, time, time_t *, t)
#else
# include <sys/time.h>