From cafefe8c1b76269ef8cc8d4e7d499ad906d663de Mon Sep 17 00:00:00 2001
From: Dima Dorfman
Date: Sun, 24 Jun 2001 23:04:23 +0000
Subject: [PATCH] Include missing header files which define functions for which
gcc has builtins (e.g., exit, strcmp).
---
bin/cat/cat.c | 1 +
bin/pax/pax.c | 1 +
bin/sh/error.c | 1 +
sbin/badsect/badsect.c | 1 +
sbin/comcontrol/comcontrol.c | 1 +
sbin/dumpon/dumpon.c | 2 ++
sbin/kldload/kldload.c | 1 +
sbin/md5/md5.c | 1 +
sbin/mount/mount_ufs.c | 1 +
sbin/mount_std/mount_std.c | 1 +
sbin/mount_umapfs/mount_umapfs.c | 1 +
sbin/reboot/reboot.c | 1 +
sbin/restore/main.c | 1 +
sbin/restore/utilities.c | 1 +
sbin/spppcontrol/spppcontrol.c | 1 +
sbin/swapon/swapon.c | 1 +
16 files changed, 17 insertions(+)
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
#include
#include
+#include
#include
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
#include
#include
+#include
#include
#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
+#include
#include
#include
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
#include
#include
+#include
#include
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
#include
#include
+#include
#include
#include
#include
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
#include
+#include
+#include
#include
#include
#include
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
#include
+#include
#include
#include
#include
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
#include
#include
+#include
#include
/*
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
#include
#include
+#include
#include
#include
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
#include
+#include
#include
#include
#include
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
#include
+#include
#include
#include
#include
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
#include
#include
+#include
#include
#include
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
#include
#include
+#include
#include
#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
#include
+#include
#include
#include
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
#include
+#include
#include
#include
#include
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
#include
#include
+#include
#include
#include