summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/cp/cp.c1
-rw-r--r--bin/cp/utils.c1
-rw-r--r--bin/dd/misc.c2
-rw-r--r--bin/sh/mail.c1
-rw-r--r--bin/sh/mksyntax.c1
5 files changed, 6 insertions, 0 deletions
diff --git a/bin/cp/cp.c b/bin/cp/cp.c
index 3478c73..3fe4af4 100644
--- a/bin/cp/cp.c
+++ b/bin/cp/cp.c
@@ -71,6 +71,7 @@ static const char rcsid[] =
#include <fts.h>
#include <limits.h>
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/bin/cp/utils.c b/bin/cp/utils.c
index 479550e..6f5ed40 100644
--- a/bin/cp/utils.c
+++ b/bin/cp/utils.c
@@ -52,6 +52,7 @@ static const char rcsid[] =
#include <fts.h>
#include <limits.h>
#include <stdio.h>
+#include <stdlib.h>
#include <sysexits.h>
#include <unistd.h>
diff --git a/bin/dd/misc.c b/bin/dd/misc.c
index 8d75668..63c4e67 100644
--- a/bin/dd/misc.c
+++ b/bin/dd/misc.c
@@ -48,6 +48,8 @@ static const char rcsid[] =
#include <errno.h>
#include <stdio.h>
+#include <stdlib.h>
+#include <strings.h>
#include <unistd.h>
#include "dd.h"
diff --git a/bin/sh/mail.c b/bin/sh/mail.c
index 826e89a..5403515 100644
--- a/bin/sh/mail.c
+++ b/bin/sh/mail.c
@@ -54,6 +54,7 @@ static const char rcsid[] =
#include "error.h"
#include <sys/types.h>
#include <sys/stat.h>
+#include <stdlib.h>
#define MAXMBOXES 10
diff --git a/bin/sh/mksyntax.c b/bin/sh/mksyntax.c
index 3f7f8cb..aace57d 100644
--- a/bin/sh/mksyntax.c
+++ b/bin/sh/mksyntax.c
@@ -53,6 +53,7 @@ static const char rcsid[] =
*/
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include "parser.h"
OpenPOWER on IntegriCloud