summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdlib/wcstoul.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdlib/wcstoul.c')
-rw-r--r--newlib/libc/stdlib/wcstoul.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/newlib/libc/stdlib/wcstoul.c b/newlib/libc/stdlib/wcstoul.c
index 0a06e861c..44dfca399 100644
--- a/newlib/libc/stdlib/wcstoul.c
+++ b/newlib/libc/stdlib/wcstoul.c
@@ -16,7 +16,7 @@ ANSI_SYNOPSIS
wchar_t **<[ptr]>, int <[base]>);
TRAD_SYNOPSIS
- #include <stdlib.h>
+ #include <wchar.h>
unsigned long wcstoul(<[s]>, <[ptr]>, <[base]>)
wchar_t *<[s]>;
wchar_t **<[ptr]>;
@@ -121,6 +121,7 @@ PORTABILITY
#include <_ansi.h>
#include <limits.h>
#include <wctype.h>
+#include <wchar.h>
#include <errno.h>
#include <stdlib.h>
#include <reent.h>