diff options
Diffstat (limited to 'bsd-misc.h')
-rw-r--r-- | bsd-misc.h | 13 |
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); | |||
54 | const char *strerror(int e); | 54 | const char *strerror(int e); |
55 | #endif | 55 | #endif |
56 | 56 | ||
57 | |||
58 | #ifndef HAVE_UTIMES | ||
59 | #ifndef HAVE_STRUCT_TIMEVAL | ||
60 | struct timeval { | ||
61 | long tv_sec; | ||
62 | long tv_usec; | ||
63 | } | ||
64 | #endif /* HAVE_STRUCT_TIMEVAL */ | ||
65 | |||
66 | int utimes(char *filename, struct timeval *tvp); | ||
67 | #endif /* HAVE_UTIMES */ | ||
68 | |||
69 | |||
57 | #endif /* _BSD_MISC_H */ | 70 | #endif /* _BSD_MISC_H */ |