Define __need_FILE also for __USE_XOPEN2K.

* wcsmbs/wchar.h: Define __need_file also for __USE_XOPEN2K.
This commit is contained in:
Ulrich Drepper 2007-11-26 22:50:59 +00:00
parent 79fb2e026b
commit a912a4f843
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
* posix/unistd.h: Declare fsync also for Unix98.
* posix/regex.h (REG_ENOSYS): Likewise.
* wcsmbs/wchar.h: Define __need_file also for __USE_XOPEN2K.
2007-11-25 Ulrich Drepper <drepper@redhat.com>

View File

@ -31,7 +31,7 @@
#ifdef _WCHAR_H
/* Get FILE definition. */
# define __need___FILE
# ifdef __USE_UNIX98
# if defined __USE_UNIX98 || defined __USE_XOPEN2K
# define __need_FILE
# endif
# include <stdio.h>