From a912a4f843365603e941093181f419a59bc2a37d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 26 Nov 2007 22:50:59 +0000 Subject: [PATCH] Define __need_FILE also for __USE_XOPEN2K. * wcsmbs/wchar.h: Define __need_file also for __USE_XOPEN2K. --- ChangeLog | 1 + wcsmbs/wchar.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fe29d4f5ae..030bec4671 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/wcsmbs/wchar.h b/wcsmbs/wchar.h index 885662b07b..8702931115 100644 --- a/wcsmbs/wchar.h +++ b/wcsmbs/wchar.h @@ -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 -- 2.11.4.GIT