summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/io-ico.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2000-08-01 21:43:56 +0000
committerTor Lillqvist <tml@src.gnome.org>2000-08-01 21:43:56 +0000
commit7bc2cb6e6ef4ed94a486cf1e41497ee2e46c045b (patch)
treef1191a89df72afd537c945d84772b1019bc1f2ce /gdk-pixbuf/io-ico.c
parentd0893cc5dd8bf29995e597f90d5a2873b1167c61 (diff)
downloadgdk-pixbuf-7bc2cb6e6ef4ed94a486cf1e41497ee2e46c045b.tar.gz
Check for <unistd.h>.
2000-08-02 Tor Lillqvist <tml@iki.fi> * configure.in: Check for <unistd.h>. 2000-08-02 Tor Lillqvist <tml@iki.fi> * io-bmp.c * io-ico.c * io-ras.c * io-tiff.c * io-wbmp.c: Conditionalise inclusion of <unistd.h>. * makefile.mingw.in: List loaders alphabetically. Add the wbmp one. Fix names of DLLs to have '-' instead of '_'.
Diffstat (limited to 'gdk-pixbuf/io-ico.c')
-rw-r--r--gdk-pixbuf/io-ico.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk-pixbuf/io-ico.c b/gdk-pixbuf/io-ico.c
index b307631e0..83e2cf93b 100644
--- a/gdk-pixbuf/io-ico.c
+++ b/gdk-pixbuf/io-ico.c
@@ -35,7 +35,9 @@ Known bugs:
#include <config.h>
#include <stdio.h>
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
#include <string.h>
#include "gdk-pixbuf-private.h"
#include "gdk-pixbuf-io.h"