Need <time.h> for ctime() prototype.

This commit is contained in:
kleink 1998-04-01 16:08:26 +00:00
parent a82d8663e7
commit 22821b35cd
2 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: itime.c,v 1.6 1998/03/18 16:54:56 bouyer Exp $ */
/* $NetBSD: itime.c,v 1.7 1998/04/01 16:13:40 kleink Exp $ */
/*-
* Copyright (c) 1980, 1993
@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)itime.c 8.1 (Berkeley) 6/5/93";
#else
__RCSID("$NetBSD: itime.c,v 1.6 1998/03/18 16:54:56 bouyer Exp $");
__RCSID("$NetBSD: itime.c,v 1.7 1998/04/01 16:13:40 kleink Exp $");
#endif
#endif /* not lint */
@ -62,6 +62,7 @@ __RCSID("$NetBSD: itime.c,v 1.6 1998/03/18 16:54:56 bouyer Exp $");
#ifdef __STDC__
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: fsdbutil.c,v 1.9 1998/03/18 17:03:16 bouyer Exp $ */
/* $NetBSD: fsdbutil.c,v 1.10 1998/04/01 16:08:26 kleink Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: fsdbutil.c,v 1.9 1998/03/18 17:03:16 bouyer Exp $");
__RCSID("$NetBSD: fsdbutil.c,v 1.10 1998/04/01 16:08:26 kleink Exp $");
#endif /* not lint */
#include <sys/types.h>
@ -53,6 +53,7 @@ __RCSID("$NetBSD: fsdbutil.c,v 1.9 1998/03/18 17:03:16 bouyer Exp $");
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <err.h>