aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-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
13 files changed, 14 insertions, 0 deletions
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>