summaryrefslogtreecommitdiff
path: root/gdk-pixbuf
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2004-01-09 20:00:14 +0000
committerManish Singh <yosh@src.gnome.org>2004-01-09 20:00:14 +0000
commite899818186eb72c7326ac743089d5f5e542b661c (patch)
tree4878c3d255d3bfdcd1a996fa8bc6fa66061ab380 /gdk-pixbuf
parente4b1119c5b4116da7c732a0857ce6f19347cd775 (diff)
downloadgdk-pixbuf-e899818186eb72c7326ac743089d5f5e542b661c.tar.gz
#include <unistd.h> for unlink()
Fri Jan 9 11:58:47 2004 Manish Singh <yosh@gimp.org> * gdk-pixbuf/gdk-pixbuf-io.c: #include <unistd.h> for unlink()
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r--gdk-pixbuf/gdk-pixbuf-io.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-io.c b/gdk-pixbuf/gdk-pixbuf-io.c
index 3b7c1da8e..11abe65db 100644
--- a/gdk-pixbuf/gdk-pixbuf-io.c
+++ b/gdk-pixbuf/gdk-pixbuf-io.c
@@ -22,12 +22,17 @@
* Boston, MA 02111-1307, USA.
*/
-#include <config.h>
+#include "config.h"
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <glib.h>
#include <errno.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
#include "gdk-pixbuf-private.h"
#include "gdk-pixbuf-io.h"