aboutsummaryrefslogtreecommitdiff
path: root/io/utime.h
diff options
context:
space:
mode:
Diffstat (limited to 'io/utime.h')
-rw-r--r--io/utime.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/io/utime.h b/io/utime.h
index c7612d0..1a645a3 100644
--- a/io/utime.h
+++ b/io/utime.h
@@ -46,10 +46,21 @@ struct utimbuf
/* Set the access and modification times of FILE to those given in
*FILE_TIMES. If FILE_TIMES is NULL, set them to the current time. */
+#ifndef __USE_TIME_BITS64
extern int utime (const char *__file,
const struct utimbuf *__file_times)
__THROW __nonnull ((1));
+#else
+# ifdef __REDIRECT_NTH
+extern int __REDIRECT_NTH (utime, (const char *__file,
+ const struct utimbuf *__file_times),
+ __utime64);
+# else
+# define utime __utime64
+# endif
+#endif
+
__END_DECLS
#endif /* utime.h */