Include also wchar.h for wcslen on Cygwin. (#163133, Roger Leigh)
authorTor Lillqvist <tlillqvist@novell.com>
Sun, 9 Jan 2005 22:55:52 +0000 (22:55 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sun, 9 Jan 2005 22:55:52 +0000 (22:55 +0000)
2005-01-09  Tor Lillqvist  <tlillqvist@novell.com>

* glib/gwin32.c: Include also wchar.h for wcslen on
Cygwin. (#163133, Roger Leigh)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gwin32.c

index 824df04..180dc9e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,7 +5,9 @@
 
 2005-01-09  Tor Lillqvist  <tlillqvist@novell.com>
 
-       * 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 <io.h> on Windows for
        prototypes. (#163390, Kazuki Iwamoto)
index 824df04..180dc9e 100644 (file)
@@ -5,7 +5,9 @@
 
 2005-01-09  Tor Lillqvist  <tlillqvist@novell.com>
 
-       * 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 <io.h> on Windows for
        prototypes. (#163390, Kazuki Iwamoto)
index 824df04..180dc9e 100644 (file)
@@ -5,7 +5,9 @@
 
 2005-01-09  Tor Lillqvist  <tlillqvist@novell.com>
 
-       * 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 <io.h> on Windows for
        prototypes. (#163390, Kazuki Iwamoto)
index 824df04..180dc9e 100644 (file)
@@ -5,7 +5,9 @@
 
 2005-01-09  Tor Lillqvist  <tlillqvist@novell.com>
 
-       * 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 <io.h> on Windows for
        prototypes. (#163390, Kazuki Iwamoto)
index 824df04..180dc9e 100644 (file)
@@ -5,7 +5,9 @@
 
 2005-01-09  Tor Lillqvist  <tlillqvist@novell.com>
 
-       * 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 <io.h> on Windows for
        prototypes. (#163390, Kazuki Iwamoto)
index 7939856..adc93a5 100644 (file)
@@ -37,6 +37,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
+#include <wchar.h>
 #include <errno.h>
 
 #define STRICT                 /* Strict typing, please */