summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-03-06 19:57:43 -0500
committerJakob Kaivo <jkk@ung.org>2019-03-06 19:57:43 -0500
commit509b82a4e9ce3cc8f1780b6f31f61024c45cf83e (patch)
tree741d6220d40d39ed321ea81757c17518cfb7f00a
parent4f4da6de915471820c83c017a6fb717c378d3573 (diff)
add include and define
-rw-r--r--src/wchar/wcstol.c3
-rw-r--r--src/wchar/wcstoll.c3
-rw-r--r--src/wchar/wcstoul.c3
-rw-r--r--src/wchar/wcstoull.c3
4 files changed, 12 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;
diff --git a/src/wchar/wcstoll.c b/src/wchar/wcstoll.c
index 60c4a475..bb85d915 100644
--- a/src/wchar/wcstoll.c
+++ b/src/wchar/wcstoll.c
@@ -1,6 +1,9 @@
#include <wchar.h>
#include "limits.h"
#include "errno.h"
+#include "wctype.h"
+
+#define isspace iswspace
long long int wcstoll(const wchar_t * restrict nptr, wchar_t ** restrict endptr, int base)
{
diff --git a/src/wchar/wcstoul.c b/src/wchar/wcstoul.c
index f8373c05..37268c50 100644
--- a/src/wchar/wcstoul.c
+++ b/src/wchar/wcstoul.c
@@ -1,7 +1,10 @@
#include <wchar.h>
+#include "wctype.h"
#include "limits.h"
#include "errno.h"
+#define isspace iswspace
+
unsigned long int wcstoul(const wchar_t * restrict nptr, wchar_t ** restrict endptr, int base)
{
unsigned long int ret = 0;
diff --git a/src/wchar/wcstoull.c b/src/wchar/wcstoull.c
index 632ff2e9..fcd09d0b 100644
--- a/src/wchar/wcstoull.c
+++ b/src/wchar/wcstoull.c
@@ -1,6 +1,9 @@
#include <wchar.h>
#include "limits.h"
#include "errno.h"
+#include "wctype.h"
+
+#define isspace iswspace
unsigned long long int wcstoull(const wchar_t * restrict nptr, wchar_t ** restrict endptr, int base)
{