about summary refs log tree commit diff
path: root/src/stdlib/strtol.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/strtol.c')
-rw-r--r--src/stdlib/strtol.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stdlib/strtol.c b/src/stdlib/strtol.c
index 23a2f3b6..7ee88794 100644
--- a/src/stdlib/strtol.c
+++ b/src/stdlib/strtol.c
@@ -1,6 +1,9 @@
 #include "stdio_impl.h"
 #include "intscan.h"
 #include "shgetc.h"
+#include <inttypes.h>
+#include <limits.h>
+#include <ctype.h>
 
 static unsigned long long strtox(const char *s, char **p, int base, unsigned long long lim)
 {