summaryrefslogtreecommitdiff
path: root/bsd-misc.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-01-15 02:34:37 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-01-15 02:34:37 +0000
commit42202bc8cffb0932ac7e6c1eb483cd20176c01c9 (patch)
tree869bcc038453e50a38fc6c2cf7086d0b9201f502 /bsd-misc.h
parent200e3c9c9adfeafe431c7af1aeb7a3dd9d4ac130 (diff)
- (bal) utimes() support via utime() interface on machine that lack utimes().
Diffstat (limited to 'bsd-misc.h')
-rw-r--r--bsd-misc.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/bsd-misc.h b/bsd-misc.h
index d8376562a..e02c66783 100644
--- a/bsd-misc.h
+++ b/bsd-misc.h
@@ -54,4 +54,17 @@ int seteuid(uid_t euid);
54const char *strerror(int e); 54const char *strerror(int e);
55#endif 55#endif
56 56
57
58#ifndef HAVE_UTIMES
59#ifndef HAVE_STRUCT_TIMEVAL
60struct timeval {
61 long tv_sec;
62 long tv_usec;
63}
64#endif /* HAVE_STRUCT_TIMEVAL */
65
66int utimes(char *filename, struct timeval *tvp);
67#endif /* HAVE_UTIMES */
68
69
57#endif /* _BSD_MISC_H */ 70#endif /* _BSD_MISC_H */