summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/io-tiff.c
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2004-02-28 13:17:53 +0000
committerHans Breuer <hans@src.gnome.org>2004-02-28 13:17:53 +0000
commit54fe5824e14633ab8414eac13554450b4651f1a6 (patch)
tree29c43494b9569f279da3baf51567acd109336aae /gdk-pixbuf/io-tiff.c
parentb87b0e87a04d81fdb9d50036f137a55a634fa47a (diff)
downloadgdk-pixbuf-54fe5824e14633ab8414eac13554450b4651f1a6.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/io-tiff.c')
-rw-r--r--gdk-pixbuf/io-tiff.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk-pixbuf/io-tiff.c b/gdk-pixbuf/io-tiff.c
index 2d47f6594..3ce8551a5 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