aboutsummaryrefslogtreecommitdiff
path: root/wcsmbs
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-11-26 22:50:59 +0000
committerUlrich Drepper <drepper@redhat.com>2007-11-26 22:50:59 +0000
commita912a4f843365603e941093181f419a59bc2a37d (patch)
tree3e91a1606c2cf0d2aead07ebc73bceaa14ce8ecd /wcsmbs
parentDefine REG_ENOSYS also for Unix98. (diff)
downloadglibc-a912a4f843365603e941093181f419a59bc2a37d.tar.gz
glibc-a912a4f843365603e941093181f419a59bc2a37d.tar.bz2
glibc-a912a4f843365603e941093181f419a59bc2a37d.zip
Define __need_FILE also for __USE_XOPEN2K.
* wcsmbs/wchar.h: Define __need_file also for __USE_XOPEN2K.
Diffstat (limited to 'wcsmbs')
-rw-r--r--wcsmbs/wchar.h2
1 files changed, 1 insertions, 1 deletions
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 <stdio.h>