From 7a19d1bbb9f8fe580d509ad1caf8343e876fa045 Mon Sep 17 00:00:00 2001 From: Dima Dorfman Date: Sun, 24 Jun 2001 19:50:42 +0000 Subject: [PATCH] Include missing header files which define functions for which gcc has builtins (e.g., exit, strcmp). --- usr.bin/cksum/cksum.c | 1 + usr.bin/colcrt/colcrt.c | 1 + usr.bin/comm/comm.c | 1 + usr.bin/expand/expand.c | 1 + usr.bin/finger/net.c | 1 + usr.bin/getopt/getopt.c | 1 + usr.bin/ipcs/ipcs.c | 1 + usr.bin/keylogin/keylogin.c | 1 + usr.bin/renice/renice.c | 1 + usr.bin/soelim/soelim.c | 2 ++ usr.bin/tput/tput.c | 1 + usr.bin/tty/tty.c | 1 + usr.bin/unifdef/unifdef.c | 2 ++ usr.bin/unvis/unvis.c | 1 + usr.bin/uuencode/uuencode.c | 1 + usr.bin/who/who.c | 1 + usr.bin/ypcat/ypcat.c | 2 ++ usr.bin/ypmatch/ypmatch.c | 1 + 18 files changed, 21 insertions(+) diff --git a/usr.bin/cksum/cksum.c b/usr.bin/cksum/cksum.c index 1411abe68543..d89f07fa9ac2 100644 --- a/usr.bin/cksum/cksum.c +++ b/usr.bin/cksum/cksum.c @@ -53,6 +53,7 @@ static const char rcsid[] = #include #include #include +#include #include #include diff --git a/usr.bin/colcrt/colcrt.c b/usr.bin/colcrt/colcrt.c index fd1f4a35c6c2..77cc0d276dbc 100644 --- a/usr.bin/colcrt/colcrt.c +++ b/usr.bin/colcrt/colcrt.c @@ -47,6 +47,7 @@ static const char rcsid[] = #include #include +#include #include #include /* diff --git a/usr.bin/comm/comm.c b/usr.bin/comm/comm.c index 362cbcdc64e5..ad88fccb38a0 100644 --- a/usr.bin/comm/comm.c +++ b/usr.bin/comm/comm.c @@ -53,6 +53,7 @@ static const char rcsid[] = #include #include #include +#include #include #include diff --git a/usr.bin/expand/expand.c b/usr.bin/expand/expand.c index 4044cc5d630c..06f1362293df 100644 --- a/usr.bin/expand/expand.c +++ b/usr.bin/expand/expand.c @@ -48,6 +48,7 @@ static const char rcsid[] = #include #include #include +#include #include /* diff --git a/usr.bin/finger/net.c b/usr.bin/finger/net.c index 3f93a8a55d53..61fc22174505 100644 --- a/usr.bin/finger/net.c +++ b/usr.bin/finger/net.c @@ -51,6 +51,7 @@ static const char rcsid[] = #include #include #include +#include #include #include #include diff --git a/usr.bin/getopt/getopt.c b/usr.bin/getopt/getopt.c index fbadc928ab7e..c0d222125f10 100644 --- a/usr.bin/getopt/getopt.c +++ b/usr.bin/getopt/getopt.c @@ -1,6 +1,7 @@ /* $FreeBSD$ */ #include +#include #include main(argc, argv) diff --git a/usr.bin/ipcs/ipcs.c b/usr.bin/ipcs/ipcs.c index a5b80af20f5b..c335c2b9f488 100644 --- a/usr.bin/ipcs/ipcs.c +++ b/usr.bin/ipcs/ipcs.c @@ -40,6 +40,7 @@ static const char rcsid[] = #include #include #include +#include #include #include diff --git a/usr.bin/keylogin/keylogin.c b/usr.bin/keylogin/keylogin.c index 15b62e1bce66..6bad09a76174 100644 --- a/usr.bin/keylogin/keylogin.c +++ b/usr.bin/keylogin/keylogin.c @@ -40,6 +40,7 @@ static char sccsid[] = "@(#)keylogin.c 1.4 91/03/11 Copyr 1986 Sun Micro"; * Set secret key on local machine */ #include +#include #include #include #include diff --git a/usr.bin/renice/renice.c b/usr.bin/renice/renice.c index b20f732eb2b1..de42e6294869 100644 --- a/usr.bin/renice/renice.c +++ b/usr.bin/renice/renice.c @@ -53,6 +53,7 @@ static const char rcsid[] = #include #include #include +#include #include int donice __P((int, int, int)); diff --git a/usr.bin/soelim/soelim.c b/usr.bin/soelim/soelim.c index c6fc2a2dcc89..2f13c7791c5d 100644 --- a/usr.bin/soelim/soelim.c +++ b/usr.bin/soelim/soelim.c @@ -47,6 +47,8 @@ static const char rcsid[] = #include #include +#include +#include /* * soelim - a filter to process n/troff input eliminating .so's * diff --git a/usr.bin/tput/tput.c b/usr.bin/tput/tput.c index 67a6b531dd63..700ed1a00330 100644 --- a/usr.bin/tput/tput.c +++ b/usr.bin/tput/tput.c @@ -51,6 +51,7 @@ static char rcsid[] = #include #include #include +#include #include #undef putchar diff --git a/usr.bin/tty/tty.c b/usr.bin/tty/tty.c index 4d02fa9dccd4..5753e34069f5 100644 --- a/usr.bin/tty/tty.c +++ b/usr.bin/tty/tty.c @@ -46,6 +46,7 @@ static const char rcsid[] = #endif /* not lint */ #include +#include #include static void usage __P((void)); diff --git a/usr.bin/unifdef/unifdef.c b/usr.bin/unifdef/unifdef.c index 0b7344b2eb77..c64d52099f7c 100644 --- a/usr.bin/unifdef/unifdef.c +++ b/usr.bin/unifdef/unifdef.c @@ -64,6 +64,8 @@ static const char rcsid[] = #include #include #include +#include +#include typedef int Reject_level; diff --git a/usr.bin/unvis/unvis.c b/usr.bin/unvis/unvis.c index 418b74ec460b..8cfe1f28581e 100644 --- a/usr.bin/unvis/unvis.c +++ b/usr.bin/unvis/unvis.c @@ -47,6 +47,7 @@ static const char rcsid[] = #include #include +#include #include #include diff --git a/usr.bin/uuencode/uuencode.c b/usr.bin/uuencode/uuencode.c index d91222a7e851..aa763722cffe 100644 --- a/usr.bin/uuencode/uuencode.c +++ b/usr.bin/uuencode/uuencode.c @@ -55,6 +55,7 @@ static const char rcsid[] = #include #include +#include #include void encode __P((void)); diff --git a/usr.bin/who/who.c b/usr.bin/who/who.c index c4a53ee686d8..a646d58c5c43 100644 --- a/usr.bin/who/who.c +++ b/usr.bin/who/who.c @@ -55,6 +55,7 @@ static const char rcsid[] = #include #include #include +#include #include #include #include diff --git a/usr.bin/ypcat/ypcat.c b/usr.bin/ypcat/ypcat.c index e90e763a0349..f2cb022c7dcf 100644 --- a/usr.bin/ypcat/ypcat.c +++ b/usr.bin/ypcat/ypcat.c @@ -38,6 +38,8 @@ static const char rcsid[] = #include #include #include +#include +#include #include #include diff --git a/usr.bin/ypmatch/ypmatch.c b/usr.bin/ypmatch/ypmatch.c index be266bb7e1e0..6d6fffc02a3c 100644 --- a/usr.bin/ypmatch/ypmatch.c +++ b/usr.bin/ypmatch/ypmatch.c @@ -38,6 +38,7 @@ static const char rcsid[] = #include #include #include +#include #include #include