diff options
| -rw-r--r-- | include/utime.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/utime.h b/include/utime.h index 64511c074fa8..8f803657bc48 100644 --- a/include/utime.h +++ b/include/utime.h @@ -37,13 +37,19 @@ #ifndef _UTIME_H_ #define _UTIME_H_ +#include <sys/cdefs.h> +#include <sys/_types.h> + +#ifndef _TIME_T_DECLARED +typedef __time_t time_t; +#define _TIME_T_DECLARED +#endif + struct utimbuf { time_t actime; /* Access time */ time_t modtime; /* Modification time */ }; -#include <sys/cdefs.h> - __BEGIN_DECLS int utime(const char *, const struct utimbuf *); __END_DECLS |
