From 0bf59d828dc14562d8d95904b5c70a98f8c440a3 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sun, 9 Jan 2005 22:55:52 +0000 Subject: [PATCH] Include also wchar.h for wcslen on Cygwin. (#163133, Roger Leigh) 2005-01-09 Tor Lillqvist * glib/gwin32.c: Include also wchar.h for wcslen on Cygwin. (#163133, Roger Leigh) --- ChangeLog | 4 +++- ChangeLog.pre-2-10 | 4 +++- ChangeLog.pre-2-12 | 4 +++- ChangeLog.pre-2-6 | 4 +++- ChangeLog.pre-2-8 | 4 +++- glib/gwin32.c | 1 + 6 files changed, 16 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 824df046..180dc9e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,7 +5,9 @@ 2005-01-09 Tor Lillqvist - * glib/gwin32.c (g_win32_error_message): Fix cast. (#163133, Roger Leigh) + * glib/gwin32.c: Include also wchar.h for wcslen on + Cygwin. + (g_win32_error_message): Fix cast. (#163133, Roger Leigh) * glib/gfileutils.c: Include on Windows for prototypes. (#163390, Kazuki Iwamoto) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 824df046..180dc9e8 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -5,7 +5,9 @@ 2005-01-09 Tor Lillqvist - * glib/gwin32.c (g_win32_error_message): Fix cast. (#163133, Roger Leigh) + * glib/gwin32.c: Include also wchar.h for wcslen on + Cygwin. + (g_win32_error_message): Fix cast. (#163133, Roger Leigh) * glib/gfileutils.c: Include on Windows for prototypes. (#163390, Kazuki Iwamoto) diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 824df046..180dc9e8 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -5,7 +5,9 @@ 2005-01-09 Tor Lillqvist - * glib/gwin32.c (g_win32_error_message): Fix cast. (#163133, Roger Leigh) + * glib/gwin32.c: Include also wchar.h for wcslen on + Cygwin. + (g_win32_error_message): Fix cast. (#163133, Roger Leigh) * glib/gfileutils.c: Include on Windows for prototypes. (#163390, Kazuki Iwamoto) diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 824df046..180dc9e8 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -5,7 +5,9 @@ 2005-01-09 Tor Lillqvist - * glib/gwin32.c (g_win32_error_message): Fix cast. (#163133, Roger Leigh) + * glib/gwin32.c: Include also wchar.h for wcslen on + Cygwin. + (g_win32_error_message): Fix cast. (#163133, Roger Leigh) * glib/gfileutils.c: Include on Windows for prototypes. (#163390, Kazuki Iwamoto) diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 824df046..180dc9e8 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -5,7 +5,9 @@ 2005-01-09 Tor Lillqvist - * glib/gwin32.c (g_win32_error_message): Fix cast. (#163133, Roger Leigh) + * glib/gwin32.c: Include also wchar.h for wcslen on + Cygwin. + (g_win32_error_message): Fix cast. (#163133, Roger Leigh) * glib/gfileutils.c: Include on Windows for prototypes. (#163390, Kazuki Iwamoto) diff --git a/glib/gwin32.c b/glib/gwin32.c index 79398561..adc93a50 100644 --- a/glib/gwin32.c +++ b/glib/gwin32.c @@ -37,6 +37,7 @@ #include #include #include +#include #include #define STRICT /* Strict typing, please */ -- 2.34.1