summaryrefslogtreecommitdiff
path: root/src/inttypes/strtoumax.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-03-02 15:01:45 -0500
committerJakob Kaivo <jkk@ung.org>2019-03-02 15:01:45 -0500
commit07458cb09bfe1336c40f1866f105650c44810f43 (patch)
tree377d60651822a823d1704ca431315c30f29d4431 /src/inttypes/strtoumax.c
parent73211ec3e7af1bc7b8123b561535dd9509fc0db1 (diff)
add <ctype.h> include for consuming leading spaces
Diffstat (limited to 'src/inttypes/strtoumax.c')
-rw-r--r--src/inttypes/strtoumax.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inttypes/strtoumax.c b/src/inttypes/strtoumax.c
index 60aec599..12d5c18a 100644
--- a/src/inttypes/strtoumax.c
+++ b/src/inttypes/strtoumax.c
@@ -1,5 +1,6 @@
#include "stddef.h"
#include <inttypes.h>
+#include "ctype.h"
#include "errno.h"
uintmax_t strtoumax(const char *restrict nptr, char ** restrict endptr, int base)