summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/utime.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/utime.c')
-rw-r--r--libc/sysdeps/linux/common/utime.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/common/utime.c b/libc/sysdeps/linux/common/utime.c
index c9fd1bfbb..2573e00eb 100644
--- a/libc/sysdeps/linux/common/utime.c
+++ b/libc/sysdeps/linux/common/utime.c
@@ -10,13 +10,12 @@
#include <sys/syscall.h>
#include <utime.h>
-
#ifdef __NR_utime
_syscall2(int, utime, const char *, file, const struct utimbuf *, times)
#else
-#include <stdlib.h>
-#include <sys/time.h>
-
+# define __need_NULL
+# include <stddef.h>
+# include <sys/time.h>
int utime(const char *file, const struct utimbuf *times)
{