summaryrefslogtreecommitdiff
path: root/src/wchar/wcstol.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wchar/wcstol.c')
-rw-r--r--src/wchar/wcstol.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wchar/wcstol.c b/src/wchar/wcstol.c
index d349ee9c..12a29858 100644
--- a/src/wchar/wcstol.c
+++ b/src/wchar/wcstol.c
@@ -1,7 +1,10 @@
#include <wchar.h>
+#include "wctype.h"
#include "limits.h"
#include "errno.h"
+#define isspace iswspace
+
long int wcstol(const wchar_t * restrict nptr, wchar_t ** restrict endptr, int base)
{
long int ret = 0;