Browse Source

provide time_t without sys/types.h; kleink

OPENBSD_2_4
deraadt 26 years ago
parent
commit
01876ee334
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      src/include/utime.h

+ 8
- 1
src/include/utime.h View File

@ -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 $ */ /* $NetBSD: utime.h,v 1.3 1994/10/26 00:56:39 cgd Exp $ */
/*- /*-
@ -39,6 +39,13 @@
#ifndef _UTIME_H_ #ifndef _UTIME_H_
#define _UTIME_H_ #define _UTIME_H_
#include <machine/ansi.h>
#ifdef _BSD_TIME_T_
typedef _BSD_TIME_T_ time_t;
#undef _BSD_TIME_T_
#endif
struct utimbuf { struct utimbuf {
time_t actime; /* Access time */ time_t actime; /* Access time */
time_t modtime; /* Modification time */ time_t modtime; /* Modification time */


Loading…
Cancel
Save