Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-08-23 15:59:56 +0400
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-08-23 15:59:56 +0400
commit0792b19670ce1024020c30422770e27599f8c676 (patch)
tree66793bb12e298d5a2d0f2467abd281f8bf69ac8c /newlib/libc/string
parent74c92a62fe1d815b90c72587504dfd57b51ae62b (diff)
2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* libc/posix/regexec.c: Define "nope" only #ifndef NDEBUG. * libc/stdio/vfscanf.c: Define "state" only #ifdef _MB_CAPABLE. * libc/string/wcwidth.c: Include <wctypes.h> for "iswprint" and "iswcntrl".
Diffstat (limited to 'newlib/libc/string')
-rw-r--r--newlib/libc/string/wcwidth.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/libc/string/wcwidth.c b/newlib/libc/string/wcwidth.c
index f825be6ab..ac5c47f67 100644
--- a/newlib/libc/string/wcwidth.c
+++ b/newlib/libc/string/wcwidth.c
@@ -94,6 +94,9 @@ PORTABILITY
#include <_ansi.h>
#include <wchar.h>
+#ifndef _MB_CAPABLE
+#include <wctype.h> /* iswprint, iswcntrl */
+#endif
#include "local.h"
#ifdef _MB_CAPABLE