From e3cab8dc0ccb8294d22f3d896a277e5404f8d59b Mon Sep 17 00:00:00 2001 From: dd Date: Sun, 24 Jun 2001 20:25:23 +0000 Subject: [PATCH] Include missing header files which define functions for which gcc has builtints (e.g., exit, strcmp). --- usr.sbin/getextattr/getextattr.c | 1 + usr.sbin/jail/jail.c | 2 ++ usr.sbin/mtest/mtest.c | 6 ++++++ usr.sbin/pw/rm_r.c | 1 + usr.sbin/quotaon/quotaon.c | 1 + usr.sbin/setextattr/setextattr.c | 2 ++ usr.sbin/vnconfig/vnconfig.c | 1 + usr.sbin/yppoll/yppoll.c | 1 + 8 files changed, 15 insertions(+) diff --git a/usr.sbin/getextattr/getextattr.c b/usr.sbin/getextattr/getextattr.c index 3acbfc1ecc14..2b14865c1ac2 100644 --- a/usr.sbin/getextattr/getextattr.c +++ b/usr.sbin/getextattr/getextattr.c @@ -34,6 +34,7 @@ #include #include +#include #include #include diff --git a/usr.sbin/jail/jail.c b/usr.sbin/jail/jail.c index fc349908f1df..d27d51d50d75 100644 --- a/usr.sbin/jail/jail.c +++ b/usr.sbin/jail/jail.c @@ -11,6 +11,8 @@ */ #include +#include +#include #include #include #include diff --git a/usr.sbin/mtest/mtest.c b/usr.sbin/mtest/mtest.c index 1e2e37347e5e..920f4dd290e7 100644 --- a/usr.sbin/mtest/mtest.c +++ b/usr.sbin/mtest/mtest.c @@ -5,8 +5,14 @@ * Written by Steve Deering, Stanford University, February 1989. */ +#ifndef lint +static const char rcsid[] = + "$FreeBSD$"; +#endif /* not lint */ + #include #include +#include #include #include #include diff --git a/usr.sbin/pw/rm_r.c b/usr.sbin/pw/rm_r.c index 2af9a4efca9e..4ad590bc1aa2 100644 --- a/usr.sbin/pw/rm_r.c +++ b/usr.sbin/pw/rm_r.c @@ -31,6 +31,7 @@ static const char rcsid[] = #include #include +#include #include #include #include diff --git a/usr.sbin/quotaon/quotaon.c b/usr.sbin/quotaon/quotaon.c index 6235c1f2058f..50d68aeefc4c 100644 --- a/usr.sbin/quotaon/quotaon.c +++ b/usr.sbin/quotaon/quotaon.c @@ -58,6 +58,7 @@ static const char rcsid[] = #include #include #include +#include #include #include diff --git a/usr.sbin/setextattr/setextattr.c b/usr.sbin/setextattr/setextattr.c index 202daa9a9857..bdf21436314c 100644 --- a/usr.sbin/setextattr/setextattr.c +++ b/usr.sbin/setextattr/setextattr.c @@ -35,6 +35,8 @@ #include #include +#include +#include void usage(void) diff --git a/usr.sbin/vnconfig/vnconfig.c b/usr.sbin/vnconfig/vnconfig.c index fb976aef78f2..294250d4b5a1 100644 --- a/usr.sbin/vnconfig/vnconfig.c +++ b/usr.sbin/vnconfig/vnconfig.c @@ -13,6 +13,7 @@ static const char rcsid[] = #endif /* not lint */ #include +#include int main(int argc, char **argv) diff --git a/usr.sbin/yppoll/yppoll.c b/usr.sbin/yppoll/yppoll.c index a6fac5dda2df..048fdeb58f45 100644 --- a/usr.sbin/yppoll/yppoll.c +++ b/usr.sbin/yppoll/yppoll.c @@ -38,6 +38,7 @@ static const char rcsid[] = #include #include #include +#include #include #include