summaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/lcong48_r.c1
-rw-r--r--stdlib/seed48_r.c1
-rw-r--r--stdlib/strtod.c1
-rw-r--r--stdlib/strtol.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/stdlib/lcong48_r.c b/stdlib/lcong48_r.c
index f607bc5b84..8584eddf0b 100644
--- a/stdlib/lcong48_r.c
+++ b/stdlib/lcong48_r.c
@@ -18,6 +18,7 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#include <stdlib.h>
+#include <string.h>
int
lcong48_r (param, buffer)
diff --git a/stdlib/seed48_r.c b/stdlib/seed48_r.c
index e45c3d2ad3..24511343c7 100644
--- a/stdlib/seed48_r.c
+++ b/stdlib/seed48_r.c
@@ -18,6 +18,7 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#include <stdlib.h>
+#include <string.h>
int
seed48_r (seed16v, buffer)
diff --git a/stdlib/strtod.c b/stdlib/strtod.c
index f32ffc6162..aff0045542 100644
--- a/stdlib/strtod.c
+++ b/stdlib/strtod.c
@@ -57,6 +57,7 @@ Boston, MA 02111-1307, USA. */
#include "../locale/localeinfo.h"
#include <math.h>
#include <stdlib.h>
+#include <string.h>
/* The gmp headers need some configuration frobs. */
#define HAVE_ALLOCA 1
diff --git a/stdlib/strtol.c b/stdlib/strtol.c
index dd92fb250c..06639a763a 100644
--- a/stdlib/strtol.c
+++ b/stdlib/strtol.c
@@ -39,6 +39,7 @@ extern int errno;
#ifdef STDC_HEADERS
# include <stddef.h>
# include <stdlib.h>
+# include <string.h>
#else
# ifndef NULL
# define NULL 0