Bug 545485 - Implicit declaration of utime()
authorTor Lillqvist <tml@novell.com>
Wed, 30 Jul 2008 15:35:01 +0000 (15:35 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Wed, 30 Jul 2008 15:35:01 +0000 (15:35 +0000)
2008-07-30  Tor Lillqvist  <tml@novell.com>

Bug 545485 - Implicit declaration of utime()

* glib/gstdio.c: Include <utime.h> on POSIX.

svn path=/trunk/; revision=7273

ChangeLog
glib/gstdio.c

index a341f27..4ac3529 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-07-30  Tor Lillqvist  <tml@novell.com>
+
+       Bug 545485 - Implicit declaration of utime()
+
+       * glib/gstdio.c: Include <utime.h> on POSIX.
+
 2008-07-28  Tor Lillqvist  <tml@novell.com>
 
        * configure.in: Output to glibconfig.h typedefs for gintptr as the
index a57d989..4971d9b 100644 (file)
@@ -39,6 +39,8 @@
 #include <direct.h>
 #include <io.h>
 #include <sys/utime.h>
+#else
+#include <utime.h>
 #endif
 
 #include "gstdio.h"