diff options
author | Ivan, Wong Yat Cheung <email@ivanwong.info> | 2005-04-11 18:59:05 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2005-04-11 18:59:05 +0000 |
commit | 47b096e223350efe73a2c0f05402b11fb8dd3e3c (patch) | |
tree | 2acf9813b585f11e5c4d77b08150676988a3e59f /gtk/updateiconcache.c | |
parent | e53cc66755366c406dc6a684739e8d14fb0b18db (diff) | |
download | gtk+-47b096e223350efe73a2c0f05402b11fb8dd3e3c.tar.gz |
Fix #300218:
2005-04-11 Ivan, Wong Yat Cheung <email@ivanwong.info>
Fix #300218:
* gdk/win32/gdkselection-win32.c (gdk_selection_convert): Fix
C99ism.
* gtk/updateiconcache.c: Guard inclusion of unistd.h and
utime.h.
Diffstat (limited to 'gtk/updateiconcache.c')
-rw-r--r-- | gtk/updateiconcache.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/updateiconcache.c b/gtk/updateiconcache.c index 8662166659..17b488d2a0 100644 --- a/gtk/updateiconcache.c +++ b/gtk/updateiconcache.c @@ -24,9 +24,15 @@ #include <string.h> #include <sys/types.h> #include <sys/stat.h> +#ifdef HAVE_UNISTD_H #include <unistd.h> +#endif #include <errno.h> +#ifdef _MSC_VER +#include <sys/utime.h> +#else #include <utime.h> +#endif #include <glib.h> #include <glib/gstdio.h> |