summaryrefslogtreecommitdiffstats
path: root/usr.bin/talk
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-06-24 23:22:14 +0000
committerdd <dd@FreeBSD.org>2001-06-24 23:22:14 +0000
commitbbd68b6b40fdc0d98335a7ea2fb279ef37abc0f5 (patch)
treebd7aabb9029e7b976a0385298563569076fdd03b /usr.bin/talk
parentef9ae51ffe0b0740160f5ace4bac9572716a5ff3 (diff)
downloadFreeBSD-src-bbd68b6b40fdc0d98335a7ea2fb279ef37abc0f5.zip
FreeBSD-src-bbd68b6b40fdc0d98335a7ea2fb279ef37abc0f5.tar.gz
Include missing header files which define functions for which gcc has
builtints (e.g., exit, strcmp).
Diffstat (limited to 'usr.bin/talk')
-rw-r--r--usr.bin/talk/get_names.c1
-rw-r--r--usr.bin/talk/init_disp.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/talk/get_names.c b/usr.bin/talk/get_names.c
index 73e20a1..7fb341a 100644
--- a/usr.bin/talk/get_names.c
+++ b/usr.bin/talk/get_names.c
@@ -41,6 +41,7 @@ static const char rcsid[] =
#include <err.h>
#include <pwd.h>
+#include <stdlib.h>
#include <string.h>
#include <sys/param.h>
#include "talk.h"
diff --git a/usr.bin/talk/init_disp.c b/usr.bin/talk/init_disp.c
index 246a3c8..850bdf4 100644
--- a/usr.bin/talk/init_disp.c
+++ b/usr.bin/talk/init_disp.c
@@ -46,6 +46,7 @@ static const char rcsid[] =
#include <err.h>
#include <signal.h>
+#include <stdlib.h>
#include <sys/stat.h>
#include <unistd.h>
#include <termios.h>
OpenPOWER on IntegriCloud