summaryrefslogtreecommitdiffstats
path: root/newlib/libc/locale/nl_langinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/locale/nl_langinfo.c')
-rw-r--r--newlib/libc/locale/nl_langinfo.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/newlib/libc/locale/nl_langinfo.c b/newlib/libc/locale/nl_langinfo.c
index 392a7cbbb..4b7e983f0 100644
--- a/newlib/libc/locale/nl_langinfo.c
+++ b/newlib/libc/locale/nl_langinfo.c
@@ -182,7 +182,10 @@ char *
_DEFUN(nl_langinfo, (item),
nl_item item) {
- char *ret, *s, *cs;
+ char *ret, *cs;
+#ifndef __CYGWIN__
+ char *s;
+#endif
static char *csym = NULL;
#ifdef TRANSITION_PERIOD_HACK
static char *cset = NULL;