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 + + * include/ctype.h: Declare __ctype_ptr__ to keep newlib build happy. + 2008-07-21 Corinna Vinschen * 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