From d42c04a67674249ebcb7704fd0826b517b048685 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 13 May 1998 08:39:22 +0000 Subject: provide time_t without sys/types.h; kleink --- include/utime.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/utime.h b/include/utime.h index 410926de956..97591d0466f 100644 --- a/include/utime.h +++ b/include/utime.h @@ -1,4 +1,4 @@ -/* $OpenBSD: utime.h,v 1.2 1997/09/21 10:45:59 niklas Exp $ */ +/* $OpenBSD: utime.h,v 1.3 1998/05/13 08:39:21 deraadt Exp $ */ /* $NetBSD: utime.h,v 1.3 1994/10/26 00:56:39 cgd Exp $ */ /*- @@ -39,6 +39,13 @@ #ifndef _UTIME_H_ #define _UTIME_H_ +#include + +#ifdef _BSD_TIME_T_ +typedef _BSD_TIME_T_ time_t; +#undef _BSD_TIME_T_ +#endif + struct utimbuf { time_t actime; /* Access time */ time_t modtime; /* Modification time */ -- cgit v1.2.3