summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-02-09 09:13:36 +0000
committerstefanf <stefanf@FreeBSD.org>2005-02-09 09:13:36 +0000
commitff18347bab2df60a7085159833d4374dc1743a56 (patch)
tree29e35b8b6a90b00c0bea13a224e5b5b81acde337 /usr.bin
parent9a77daf15d891d6110d3166232b2d17c7a3794b8 (diff)
downloadFreeBSD-src-ff18347bab2df60a7085159833d4374dc1743a56.zip
FreeBSD-src-ff18347bab2df60a7085159833d4374dc1743a56.tar.gz
Include missing headers.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/locate/bigram/locate.bigram.c1
-rw-r--r--usr.bin/sed/main.c1
-rw-r--r--usr.bin/talk/ctl.c3
-rw-r--r--usr.bin/talk/look_up.c1
4 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/locate/bigram/locate.bigram.c b/usr.bin/locate/bigram/locate.bigram.c
index 137b590..208824f 100644
--- a/usr.bin/locate/bigram/locate.bigram.c
+++ b/usr.bin/locate/bigram/locate.bigram.c
@@ -56,6 +56,7 @@ static char sccsid[] = "@(#)locate.bigram.c 8.1 (Berkeley) 6/6/93";
*/
#include <stdio.h>
+#include <stdlib.h>
#include <sys/param.h> /* for MAXPATHLEN */
#include "locate.h"
diff --git a/usr.bin/sed/main.c b/usr.bin/sed/main.c
index b8ace5a..5528514 100644
--- a/usr.bin/sed/main.c
+++ b/usr.bin/sed/main.c
@@ -52,6 +52,7 @@ static const char sccsid[] = "@(#)main.c 8.2 (Berkeley) 1/3/94";
#include <err.h>
#include <errno.h>
#include <fcntl.h>
+#include <libgen.h>
#include <limits.h>
#include <locale.h>
#include <regex.h>
diff --git a/usr.bin/talk/ctl.c b/usr.bin/talk/ctl.c
index 68b229c..717ffb3 100644
--- a/usr.bin/talk/ctl.c
+++ b/usr.bin/talk/ctl.c
@@ -47,6 +47,9 @@ static const char sccsid[] = "@(#)ctl.c 8.1 (Berkeley) 6/6/93";
#include <sys/types.h>
#include <sys/socket.h>
+
+#include <string.h>
+
#include "talk.h"
struct sockaddr_in daemon_addr = { sizeof(daemon_addr), AF_INET };
diff --git a/usr.bin/talk/look_up.c b/usr.bin/talk/look_up.c
index 6c40933..1ff1477 100644
--- a/usr.bin/talk/look_up.c
+++ b/usr.bin/talk/look_up.c
@@ -44,6 +44,7 @@ static const char sccsid[] = "@(#)look_up.c 8.1 (Berkeley) 6/6/93";
#include <protocols/talkd.h>
#include <errno.h>
+#include <string.h>
#include "talk_ctl.h"
#include "talk.h"
OpenPOWER on IntegriCloud