summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)
{