Include <stdio.h> for FILENAME_MAX on newer mingw installations.
authorTor Lillqvist <tml@novell.com>
Thu, 24 Jul 2008 01:13:33 +0000 (01:13 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Thu, 24 Jul 2008 01:13:33 +0000 (01:13 +0000)
2008-07-24  Tor Lillqvist  <tml@novell.com>

* glib/gdir.c: Include <stdio.h> for FILENAME_MAX on newer mingw
installations.

svn path=/trunk/; revision=7251

ChangeLog
glib/gdir.c

index 6a1bb10..6a662c4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2008-07-24  Tor Lillqvist  <tml@novell.com>
 
+       * glib/gdir.c: Include <stdio.h> for FILENAME_MAX on newer mingw
+       installations.
+
+2008-07-24  Tor Lillqvist  <tml@novell.com>
+
        * glib/gslice.c (smc_notify_free): Use G_GSIZE_FORMAT instead of
        the C99 "zu".
 
index aab6c59..490e5a9 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <errno.h>
 #include <string.h>
+#include <stdio.h>
 #include <sys/stat.h>
 
 #ifdef HAVE_DIRENT_H