aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--wcsmbs/wchar.h5
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2527459..9f782eb 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 92aa5db..0c0d8a0 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