diff options
-rw-r--r-- | usr.bin/locate/bigram/locate.bigram.c | 1 | ||||
-rw-r--r-- | usr.bin/sed/main.c | 1 | ||||
-rw-r--r-- | usr.bin/talk/ctl.c | 3 | ||||
-rw-r--r-- | usr.bin/talk/look_up.c | 1 |
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" |