aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2001-06-24 23:04:23 +0000
committerDima Dorfman <dd@FreeBSD.org>2001-06-24 23:04:23 +0000
commitcafefe8c1b76269ef8cc8d4e7d499ad906d663de (patch)
tree5ed494ef479747a729c33dd6fcfc26c15c6fe70a
parent6ce2587d28edd148b55cc1a8c9cf272930d7f6b8 (diff)
downloadsrc-cafefe8c1b76269ef8cc8d4e7d499ad906d663de.tar.gz
src-cafefe8c1b76269ef8cc8d4e7d499ad906d663de.zip
Include missing header files which define functions for which gcc has
builtins (e.g., exit, strcmp).
Notes
Notes: svn path=/head/; revision=78732
-rw-r--r--bin/cat/cat.c1
-rw-r--r--bin/pax/pax.c1
-rw-r--r--bin/sh/error.c1
-rw-r--r--sbin/badsect/badsect.c1
-rw-r--r--sbin/comcontrol/comcontrol.c1
-rw-r--r--sbin/dumpon/dumpon.c2
-rw-r--r--sbin/kldload/kldload.c1
-rw-r--r--sbin/md5/md5.c1
-rw-r--r--sbin/mount/mount_ufs.c1
-rw-r--r--sbin/mount_std/mount_std.c1
-rw-r--r--sbin/mount_umapfs/mount_umapfs.c1
-rw-r--r--sbin/reboot/reboot.c1
-rw-r--r--sbin/restore/main.c1
-rw-r--r--sbin/restore/utilities.c1
-rw-r--r--sbin/spppcontrol/spppcontrol.c1
-rw-r--r--sbin/swapon/swapon.c1
16 files changed, 17 insertions, 0 deletions
diff --git a/bin/cat/cat.c b/bin/cat/cat.c
index c2f11dd7f505..30ab5bf9b85d 100644
--- a/bin/cat/cat.c
+++ b/bin/cat/cat.c
@@ -57,6 +57,7 @@ static const char rcsid[] =
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
int bflag, eflag, nflag, sflag, tflag, vflag;
diff --git a/bin/pax/pax.c b/bin/pax/pax.c
index bc97d7deea90..3d5bd4dc412d 100644
--- a/bin/pax/pax.c
+++ b/bin/pax/pax.c
@@ -61,6 +61,7 @@ static const char rcsid[] =
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include "pax.h"
#include "extern.h"
diff --git a/bin/sh/error.c b/bin/sh/error.c
index 0407bac575d8..088d3c7fd2e0 100644
--- a/bin/sh/error.c
+++ b/bin/sh/error.c
@@ -55,6 +55,7 @@ static const char rcsid[] =
#include "show.h"
#include "trap.h"
#include <signal.h>
+#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
diff --git a/sbin/badsect/badsect.c b/sbin/badsect/badsect.c
index c6972b859ee8..91cdd069b15a 100644
--- a/sbin/badsect/badsect.c
+++ b/sbin/badsect/badsect.c
@@ -67,6 +67,7 @@ static const char rcsid[] =
#include <paths.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
union {
diff --git a/sbin/comcontrol/comcontrol.c b/sbin/comcontrol/comcontrol.c
index 4b823e236330..c65587f14b10 100644
--- a/sbin/comcontrol/comcontrol.c
+++ b/sbin/comcontrol/comcontrol.c
@@ -37,6 +37,7 @@ static const char rcsid[] =
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/ioctl.h>
diff --git a/sbin/dumpon/dumpon.c b/sbin/dumpon/dumpon.c
index 51d2e42fac4a..6d4c8248d7f7 100644
--- a/sbin/dumpon/dumpon.c
+++ b/sbin/dumpon/dumpon.c
@@ -47,6 +47,8 @@ static const char rcsid[] =
#include <err.h>
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include <sys/param.h>
#include <sys/sysctl.h>
diff --git a/sbin/kldload/kldload.c b/sbin/kldload/kldload.c
index 875c7aaa808b..fe324bc617a8 100644
--- a/sbin/kldload/kldload.c
+++ b/sbin/kldload/kldload.c
@@ -31,6 +31,7 @@ static const char rcsid[] =
#include <err.h>
#include <stdio.h>
+#include <stdlib.h>
#include <unistd.h>
#include <sys/param.h>
#include <sys/linker.h>
diff --git a/sbin/md5/md5.c b/sbin/md5/md5.c
index 76c2297705e1..aeb3425c3a72 100644
--- a/sbin/md5/md5.c
+++ b/sbin/md5/md5.c
@@ -28,6 +28,7 @@ static const char rcsid[] =
#include <stdio.h>
#include <time.h>
#include <unistd.h>
+#include <stdlib.h>
#include <string.h>
/*
diff --git a/sbin/mount/mount_ufs.c b/sbin/mount/mount_ufs.c
index 15cabb22f92d..8c626dbf8280 100644
--- a/sbin/mount/mount_ufs.c
+++ b/sbin/mount/mount_ufs.c
@@ -51,6 +51,7 @@ static const char rcsid[] =
#include <err.h>
#include <errno.h>
#include <stdio.h>
+#include <stdlib.h>
#include <unistd.h>
#include <ufs/ufs/ufsmount.h>
diff --git a/sbin/mount_std/mount_std.c b/sbin/mount_std/mount_std.c
index 2a95764d8542..587698912ad2 100644
--- a/sbin/mount_std/mount_std.c
+++ b/sbin/mount_std/mount_std.c
@@ -51,6 +51,7 @@ static const char rcsid[] =
#include <err.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <sysexits.h>
#include <unistd.h>
diff --git a/sbin/mount_umapfs/mount_umapfs.c b/sbin/mount_umapfs/mount_umapfs.c
index 88f1d5de6282..2a7a56e848e7 100644
--- a/sbin/mount_umapfs/mount_umapfs.c
+++ b/sbin/mount_umapfs/mount_umapfs.c
@@ -56,6 +56,7 @@ static const char rcsid[] =
#include <err.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <sysexits.h>
#include <unistd.h>
diff --git a/sbin/reboot/reboot.c b/sbin/reboot/reboot.c
index aa5e35412858..7fa378f7b006 100644
--- a/sbin/reboot/reboot.c
+++ b/sbin/reboot/reboot.c
@@ -55,6 +55,7 @@ static const char rcsid[] =
#include <pwd.h>
#include <syslog.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/sbin/restore/main.c b/sbin/restore/main.c
index 4637269ebca2..7bfe9bb2ff0f 100644
--- a/sbin/restore/main.c
+++ b/sbin/restore/main.c
@@ -55,6 +55,7 @@ static const char rcsid[] =
#include <paths.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include "restore.h"
diff --git a/sbin/restore/utilities.c b/sbin/restore/utilities.c
index b7681f768377..1e6ccfcbd857 100644
--- a/sbin/restore/utilities.c
+++ b/sbin/restore/utilities.c
@@ -47,6 +47,7 @@ static const char rcsid[] =
#include <errno.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/sbin/spppcontrol/spppcontrol.c b/sbin/spppcontrol/spppcontrol.c
index 15af6b40d714..fa902f95232f 100644
--- a/sbin/spppcontrol/spppcontrol.c
+++ b/sbin/spppcontrol/spppcontrol.c
@@ -40,6 +40,7 @@ static const char rcsid[] =
#include <err.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <sysexits.h>
#include <unistd.h>
diff --git a/sbin/swapon/swapon.c b/sbin/swapon/swapon.c
index 23b577ac7643..ea3673431e87 100644
--- a/sbin/swapon/swapon.c
+++ b/sbin/swapon/swapon.c
@@ -49,6 +49,7 @@ static const char rcsid[] =
#include <errno.h>
#include <fstab.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>