commit | 42202bc8cffb0932ac7e6c1eb483cd20176c01c9 | [log] [tgz] |
---|---|---|
author | Ben Lindstrom <mouring@eviladmin.org> | Mon Jan 15 02:34:37 2001 +0000 |
committer | Ben Lindstrom <mouring@eviladmin.org> | Mon Jan 15 02:34:37 2001 +0000 |
tree | 869bcc038453e50a38fc6c2cf7086d0b9201f502 | |
parent | 200e3c9c9adfeafe431c7af1aeb7a3dd9d4ac130 [diff] [blame] |
- (bal) utimes() support via utime() interface on machine that lack utimes().
diff --git a/bsd-misc.h b/bsd-misc.h index d837656..e02c667 100644 --- a/bsd-misc.h +++ b/bsd-misc.h
@@ -54,4 +54,17 @@ 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 */