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
commit064160009ac547f1a64903634fb7b7934ff5e4a8 (patch)
treef535a3b8208929dfc49f0c0b3775f7699f8b4ebb /gdk-pixbuf
parent037566590956fc06ffe7ef46be2744e46cb59fe1 (diff)
downloadgtk+-064160009ac547f1a64903634fb7b7934ff5e4a8.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 3b7c1da8ec..11abe65dbe 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"