summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-03-06 19:57:23 -0500
committerJakob Kaivo <jkk@ung.org>2019-03-06 19:57:23 -0500
commit4f4da6de915471820c83c017a6fb717c378d3573 (patch)
tree2108e200e0231485484714916030ed045feeccd6
parent85f8cbf3d96d1b1dc0127398b762d58676d4f4f4 (diff)
add include and define
-rw-r--r--src/inttypes/wcstoimax.c3
-rw-r--r--src/inttypes/wcstoumax.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/inttypes/wcstoimax.c b/src/inttypes/wcstoimax.c
index d086ede4..5d6e2d31 100644
--- a/src/inttypes/wcstoimax.c
+++ b/src/inttypes/wcstoimax.c
@@ -1,7 +1,10 @@
#include "stddef.h"
#include <inttypes.h>
+#include "wctype.h"
#include "errno.h"
+#define isspace iswspace
+
intmax_t wcstoimax(const wchar_t * restrict nptr, wchar_t ** restrict endptr, int base)
{
intmax_t ret = 0;
diff --git a/src/inttypes/wcstoumax.c b/src/inttypes/wcstoumax.c
index e35846ea..9988201f 100644
--- a/src/inttypes/wcstoumax.c
+++ b/src/inttypes/wcstoumax.c
@@ -1,6 +1,9 @@
#include "stddef.h"
#include <inttypes.h>
#include "errno.h"
+#include "wctype.h"
+
+#define isspace iswspace
uintmax_t wcstoumax(const wchar_t * restrict nptr, wchar_t ** restrict endptr, int base)
{