summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-07-08 20:13:07 +0000
committerbde <bde@FreeBSD.org>2002-07-08 20:13:07 +0000
commitf6b851446c0a9d367c46fee0bff6c607cb2e3dbb (patch)
tree70e13cfbc26dc01be7718aba6bb6fd00516c8f11 /usr.sbin
parent91dbf8726eef25725068916e2c1729b8f3476caa (diff)
downloadFreeBSD-src-f6b851446c0a9d367c46fee0bff6c607cb2e3dbb.zip
FreeBSD-src-f6b851446c0a9d367c46fee0bff6c607cb2e3dbb.tar.gz
Fixed some world breakage caused by not updating clients when <timeconv.h>
was split off from <time.h>. This became fatal here when -Werror was reenabled.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ac/ac.c1
-rw-r--r--usr.sbin/lastlogin/lastlogin.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/ac/ac.c b/usr.sbin/ac/ac.c
index e4dab9d..322865a 100644
--- a/usr.sbin/ac/ac.c
+++ b/usr.sbin/ac/ac.c
@@ -29,6 +29,7 @@ static const char rcsid[] =
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <timeconv.h>
#include <unistd.h>
#include <utmp.h>
diff --git a/usr.sbin/lastlogin/lastlogin.c b/usr.sbin/lastlogin/lastlogin.c
index 77c8994..9f08377 100644
--- a/usr.sbin/lastlogin/lastlogin.c
+++ b/usr.sbin/lastlogin/lastlogin.c
@@ -42,6 +42,7 @@ __RCSID("$NetBSD: lastlogin.c,v 1.4 1998/02/03 04:45:35 perry Exp $");
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
+#include <timeconv.h>
#include <utmp.h>
#include <unistd.h>
OpenPOWER on IntegriCloud