diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2003-06-09 20:21:37 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2003-06-09 20:21:37 +0000 |
commit | 129e7d9d3c7ec29d267246307ae8198e210fb70e (patch) | |
tree | 3d08bd3bdaa53afbfa6798a25ee86997ae3a7446 /usr.bin | |
parent | 8a2bfd38285c8fe3333b7fbbfe520879d5d720cf (diff) |
Need to include time.h to get ctime() proto.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/newsyslog/newsyslog.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/newsyslog/newsyslog.c b/usr.bin/newsyslog/newsyslog.c index e1d418b0c35..a0e63ddc3e9 100644 --- a/usr.bin/newsyslog/newsyslog.c +++ b/usr.bin/newsyslog/newsyslog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: newsyslog.c,v 1.67 2003/06/03 21:09:02 deraadt Exp $ */ +/* $OpenBSD: newsyslog.c,v 1.68 2003/06/09 20:21:36 millert Exp $ */ /* * Copyright (c) 1999, 2002, 2003 Todd C. Miller <Todd.Miller@courtesan.com> @@ -68,7 +68,7 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: newsyslog.c,v 1.67 2003/06/03 21:09:02 deraadt Exp $"; +static const char rcsid[] = "$OpenBSD: newsyslog.c,v 1.68 2003/06/09 20:21:36 millert Exp $"; #endif /* not lint */ #ifndef CONF @@ -106,6 +106,7 @@ static const char rcsid[] = "$OpenBSD: newsyslog.c,v 1.67 2003/06/03 21:09:02 de #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <time.h> #include <unistd.h> #define CE_ROTATED 0x01 /* Log file has been rotated */ |