summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/include/ctype.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 24bd69561..c703056b3 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2008-07-22 Corinna Vinschen <corinna@vinschen.de>
+
+ * include/ctype.h: Declare __ctype_ptr__ to keep newlib build happy.
+
2008-07-21 Corinna Vinschen <corinna@vinschen.de>
* Makefile.in (cygcheck.exe): Link against ntdll.
diff --git a/winsup/cygwin/include/ctype.h b/winsup/cygwin/include/ctype.h
index 05c950322..343bafbd5 100644
--- a/winsup/cygwin/include/ctype.h
+++ b/winsup/cygwin/include/ctype.h
@@ -40,6 +40,9 @@ int __cdecl _toupper(int);
#if defined (__INSIDE_CYGWIN__) || defined (_COMPILING_NEWLIB)
extern const char _ctype_[];
+#ifdef _COMPILING_NEWLIB
+extern const char *__ctype_ptr__;
+#endif
#else
extern const __declspec(dllimport) char _ctype_[];
#endif