summaryrefslogtreecommitdiffstats
path: root/newlib/libc/string/strtok.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/string/strtok.c')
-rw-r--r--newlib/libc/string/strtok.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/string/strtok.c b/newlib/libc/string/strtok.c
index 21607e04a..8d07ab387 100644
--- a/newlib/libc/string/strtok.c
+++ b/newlib/libc/string/strtok.c
@@ -85,6 +85,7 @@ QUICKREF
/* undef STRICT_ANSI so that strtok_r prototype will be defined */
#undef __STRICT_ANSI__
#include <string.h>
+#include <stdlib.h>
#include <_ansi.h>
#include <reent.h>