about summary refs log tree commit diff
path: root/stdlib/strtol.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/strtol.c')
-rw-r--r--stdlib/strtol.c1
1 files changed, 1 insertions, 0 deletions
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