diff options
author | Hans Breuer <hans@breuer.org> | 2004-02-28 13:17:53 +0000 |
---|---|---|
committer | Hans Breuer <hans@src.gnome.org> | 2004-02-28 13:17:53 +0000 |
commit | c93d98ee5f61c68a5fc7e25fd88f4a8c436bb85b (patch) | |
tree | 9ef6789563c28b218e2a8b5384f068083d30abbc /gdk-pixbuf | |
parent | e67246e62430e64e85b0ba942964f8ef658a607a (diff) | |
download | gtk+-c93d98ee5f61c68a5fc7e25fd88f4a8c436bb85b.tar.gz |
include <io.h> for lseek() use HAVE_UNISTD_H
2004-02-28 Hans Breuer <hans@breuer.org>
* io-tiff.c : include <io.h> for lseek()
* io-xbm.c : use HAVE_UNISTD_H
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r-- | gdk-pixbuf/ChangeLog | 5 | ||||
-rw-r--r-- | gdk-pixbuf/io-tiff.c | 2 | ||||
-rw-r--r-- | gdk-pixbuf/io-xbm.c | 2 |
3 files changed, 9 insertions, 0 deletions
diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog index ce2dbea711..25ef6e83c9 100644 --- a/gdk-pixbuf/ChangeLog +++ b/gdk-pixbuf/ChangeLog @@ -1,3 +1,8 @@ +2004-02-28 Hans Breuer <hans@breuer.org> + + * io-tiff.c : include <io.h> for lseek() + * io-xbm.c : use HAVE_UNISTD_H + Tue Feb 24 14:45:03 2004 Owen Taylor <otaylor@redhat.com> * === Released 2.3.3 === diff --git a/gdk-pixbuf/io-tiff.c b/gdk-pixbuf/io-tiff.c index 2d47f65944..3ce8551a53 100644 --- a/gdk-pixbuf/io-tiff.c +++ b/gdk-pixbuf/io-tiff.c @@ -40,6 +40,8 @@ #ifdef G_OS_WIN32 #include <fcntl.h> +#include <io.h> +#define lseek(a,b,c) _lseek(a,b,c) #define O_RDWR _O_RDWR #endif diff --git a/gdk-pixbuf/io-xbm.c b/gdk-pixbuf/io-xbm.c index 1a510183a3..060339d156 100644 --- a/gdk-pixbuf/io-xbm.c +++ b/gdk-pixbuf/io-xbm.c @@ -32,7 +32,9 @@ #include <config.h> #include <stdlib.h> #include <string.h> +#ifdef HAVE_UNISTD_H #include <unistd.h> +#endif #include <stdio.h> #include <errno.h> #include "gdk-pixbuf-private.h" |