summaryrefslogtreecommitdiffstats
path: root/usr.bin/w
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2009-12-13 03:14:06 +0000
committerdelphij <delphij@FreeBSD.org>2009-12-13 03:14:06 +0000
commit0842b7d53ffede64468e775f5c79965e3d9e48ae (patch)
treeec0e60a06ede057b5afe3f1a6eccc05036f5c424 /usr.bin/w
parent7510724a04e34e0c4cdf7551cd6e74fb053368e8 (diff)
downloadFreeBSD-src-0842b7d53ffede64468e775f5c79965e3d9e48ae.zip
FreeBSD-src-0842b7d53ffede64468e775f5c79965e3d9e48ae.tar.gz
Revert most part of 200420 as requested, as more review and polish is
needed.
Diffstat (limited to 'usr.bin/w')
-rw-r--r--usr.bin/w/pr_time.c1
-rw-r--r--usr.bin/w/w.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/w/pr_time.c b/usr.bin/w/pr_time.c
index b46fe17..acf6f8c 100644
--- a/usr.bin/w/pr_time.c
+++ b/usr.bin/w/pr_time.c
@@ -43,6 +43,7 @@ static const char sccsid[] = "@(#)pr_time.c 8.2 (Berkeley) 4/4/94";
#include <sys/time.h>
#include <stdio.h>
+#include <string.h>
#include <wchar.h>
#include "extern.h"
diff --git a/usr.bin/w/w.c b/usr.bin/w/w.c
index 23fce28..d35892e 100644
--- a/usr.bin/w/w.c
+++ b/usr.bin/w/w.c
@@ -66,6 +66,7 @@ static const char sccsid[] = "@(#)w.c 8.4 (Berkeley) 4/16/94";
#include <arpa/inet.h>
#include <arpa/nameser.h>
+#include <ctype.h>
#include <err.h>
#include <errno.h>
#include <fcntl.h>
@@ -81,9 +82,11 @@ static const char sccsid[] = "@(#)w.c 8.4 (Berkeley) 4/16/94";
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <timeconv.h>
#define _ULOG_POSIX_NAMES
#include <ulog.h>
#include <unistd.h>
+#include <vis.h>
#include "extern.h"
OpenPOWER on IntegriCloud