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
This commit is contained in:
Hans Breuer 2004-02-28 13:17:53 +00:00 committed by Hans Breuer
parent e67246e624
commit c93d98ee5f
3 changed files with 9 additions and 0 deletions

View File

@ -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 ===

View File

@ -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

View File

@ -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"