aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/w
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2009-12-13 03:14:06 +0000
committerXin LI <delphij@FreeBSD.org>2009-12-13 03:14:06 +0000
commit821df508e882ca532bec415852399c6558f22f7a (patch)
treeec0e60a06ede057b5afe3f1a6eccc05036f5c424 /usr.bin/w
parent066b1a5c7bda073983abfd26c58f78fd353b6e95 (diff)
Notes
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 b46fe17189ee2..acf6f8c987bd5 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 23fce288b086d..d35892ed4024b 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"