summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/io-xbm.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
commitc93d98ee5f61c68a5fc7e25fd88f4a8c436bb85b (patch)
tree9ef6789563c28b218e2a8b5384f068083d30abbc /gdk-pixbuf/io-xbm.c
parente67246e62430e64e85b0ba942964f8ef658a607a (diff)
downloadgtk+-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/io-xbm.c')
-rw-r--r--gdk-pixbuf/io-xbm.c2
1 files changed, 2 insertions, 0 deletions
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"