diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-23 11:02:27 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:31 +0200 |
commit | 8f1ba5cd4ff6dc1dcf682796ed41d1880aa8d19c (patch) | |
tree | 28424249e9071c971c53ec147f5940e8fd8de5fa /libc/sysdeps/linux/common/utimes.c | |
parent | b2b5d473e02d02f2888cf5848cbbdc2a46f57951 (diff) |
utime.c,utimes.c: include headers only when needed
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/utimes.c')
-rw-r--r-- | libc/sysdeps/linux/common/utimes.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/common/utimes.c b/libc/sysdeps/linux/common/utimes.c index 99d92027b..ac9aff53d 100644 --- a/libc/sysdeps/linux/common/utimes.c +++ b/libc/sysdeps/linux/common/utimes.c @@ -8,15 +8,14 @@ */ #include <sys/syscall.h> -#include <utime.h> #include <sys/time.h> - #ifdef __NR_utimes _syscall2(int, utimes, const char *, file, const struct timeval *, tvp) #else -#include <stdlib.h> - +# define __need_NULL +# include <stddef.h> +# include <utime.h> int utimes(const char *file, const struct timeval tvp[2]) { |