about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-01-25 08:43:53 +0000
committerUlrich Drepper <drepper@redhat.com>2001-01-25 08:43:53 +0000
commitd9826675fcf2575c5961d6352def915d8b06e4d5 (patch)
treed61d6af9f6eee872f134792afe62f5ef2f05ee36
parent4de9dbfa2c7bea00f7d2dcad14eea71f0ef995f7 (diff)
downloadglibc-d9826675fcf2575c5961d6352def915d8b06e4d5.tar.gz
glibc-d9826675fcf2575c5961d6352def915d8b06e4d5.tar.xz
glibc-d9826675fcf2575c5961d6352def915d8b06e4d5.zip
Update.
	* wcsmbs/wchar.h: Get FILE definition for XPG5.
-rw-r--r--ChangeLog2
-rw-r--r--wcsmbs/wchar.h5
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2527459cd3..9f782eb7e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2001-01-25  Ulrich Drepper  <drepper@redhat.com>
 
+	* wcsmbs/wchar.h: Get FILE definition for XPG5.
+
 	* conform/data/ctype.h-data: Use correct comment form.
 	* conform/data/errno.h-data: Likewise.
 	* conform/data/math.h-data: Likewise.
diff --git a/wcsmbs/wchar.h b/wcsmbs/wchar.h
index 92aa5db470..0c0d8a0272 100644
--- a/wcsmbs/wchar.h
+++ b/wcsmbs/wchar.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995-1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -31,6 +31,9 @@
 #ifdef _WCHAR_H
 /* Get FILE definition.  */
 # define __need___FILE
+# ifdef __USE_UNIX98
+#  define __need_FILE
+# endif
 # include <stdio.h>
 /* Get va_list definition.  */
 # define __need___va_list