summaryrefslogtreecommitdiff
path: root/libexec/ftpd/logwtmp.c
diff options
context:
space:
mode:
authorkleink <kleink@NetBSD.org>1998-04-01 14:35:23 +0000
committerkleink <kleink@NetBSD.org>1998-04-01 14:35:23 +0000
commitcd7d0f550d4be6c4e531d9baa8644a5ff41c0d35 (patch)
tree1fe43b9962421489180384bcb0fe4192ae0ad619 /libexec/ftpd/logwtmp.c
parent223dbe1123164eba3abb14283c81de21609d3ee7 (diff)
Need <time.h> for time() prototype.
Diffstat (limited to 'libexec/ftpd/logwtmp.c')
-rw-r--r--libexec/ftpd/logwtmp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/ftpd/logwtmp.c b/libexec/ftpd/logwtmp.c
index f26e6fda9d8..2759d0d0986 100644
--- a/libexec/ftpd/logwtmp.c
+++ b/libexec/ftpd/logwtmp.c
@@ -1,4 +1,4 @@
-/* $NetBSD: logwtmp.c,v 1.5 1997/06/18 19:05:51 christos Exp $ */
+/* $NetBSD: logwtmp.c,v 1.6 1998/04/01 14:35:23 kleink Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -40,7 +40,7 @@
#if 0
static char sccsid[] = "@(#)logwtmp.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: logwtmp.c,v 1.5 1997/06/18 19:05:51 christos Exp $");
+__RCSID("$NetBSD: logwtmp.c,v 1.6 1998/04/01 14:35:23 kleink Exp $");
#endif
#endif /* not lint */
@@ -53,6 +53,7 @@ __RCSID("$NetBSD: logwtmp.c,v 1.5 1997/06/18 19:05:51 christos Exp $");
#include <unistd.h>
#include <stdio.h>
#include <string.h>
+#include <time.h>
#include "extern.h"
static int fd = -1;