summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/futimens.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/futimens.c')
-rw-r--r--libc/sysdeps/linux/common/futimens.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/futimens.c b/libc/sysdeps/linux/common/futimens.c
index 03e58f4b5..2f3d72420 100644
--- a/libc/sysdeps/linux/common/futimens.c
+++ b/libc/sysdeps/linux/common/futimens.c
@@ -8,7 +8,7 @@
#include <sys/syscall.h>
#include <time.h>
-#ifdef __NR_utimensat
+#if defined(__NR_utimensat) || defined(__NR_utimensat_time64)
/* To avoid superfluous warnings about passing NULL to the non-null annotated
* 2nd param "__path" below, we bypass inclusion of sys/stat.h and use
* a non annotated, local decl.