Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Sutcliffe <ir0nh34d@users.sourceforge.net>2011-05-23 04:03:22 +0400
committerChris Sutcliffe <ir0nh34d@users.sourceforge.net>2011-05-23 04:03:22 +0400
commit07c973451826f5b9d16f9cc81b0f5882aa975d5a (patch)
tree8cc8d3843977246a732e6498cb8143510c75c397 /winsup/mingw
parent15ef1f6cafa01f02dc9e9682ab5ceb5c4489c4b3 (diff)
2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/wchar.h: Include stdio.h to grab definition of FILENAME_MAX. Thanks to Jim Bell for the report and Greg Chicares for the fix.
Diffstat (limited to 'winsup/mingw')
-rw-r--r--winsup/mingw/ChangeLog6
-rw-r--r--winsup/mingw/include/wchar.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index bee0fa2ef..954486b5a 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
+
+ * include/wchar.h: Include stdio.h to grab definition of FILENAME_MAX.
+
+ Thanks to Jim Bell for the report and Greg Chicares for the fix.
+
2011-01-07 Jacky Lai <crazyjacky@users.sourceforge.net>
Correct hexadecimal formatting of double and long double values.
diff --git a/winsup/mingw/include/wchar.h b/winsup/mingw/include/wchar.h
index 22acee726..60e8d9c2b 100644
--- a/winsup/mingw/include/wchar.h
+++ b/winsup/mingw/include/wchar.h
@@ -367,6 +367,7 @@ struct __wfinddata64_t {
};
#endif
#if __MSVCRT_VERSION__ >= 0x0800
+#include <stdio.h>
struct __wfinddata32_t {
unsigned attrib;
__time32_t time_create;