]> andersk Git - openssh.git/blobdiff - bsd-misc.h
- (bal) utimes() support via utime() interface on machine that lack utimes().
[openssh.git] / bsd-misc.h
index d8376562adc6e25c55f7b38276b8bfbb37467ee2..e02c6678335f0ad53efd59091ed74bd4008583d4 100644 (file)
@@ -54,4 +54,17 @@ int seteuid(uid_t euid);
 const char *strerror(int e);
 #endif 
 
+
+#ifndef HAVE_UTIMES
+#ifndef HAVE_STRUCT_TIMEVAL
+struct timeval {
+       long tv_sec;
+       long tv_usec;
+}
+#endif /* HAVE_STRUCT_TIMEVAL */
+
+int utimes(char *filename, struct timeval *tvp);
+#endif /* HAVE_UTIMES */
+
+
 #endif /* _BSD_MISC_H */
This page took 0.080388 seconds and 4 git commands to generate.