summaryrefslogtreecommitdiff
path: root/x11-toolkits/gtk20/files/patch-gtk_gtkiconcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/gtk20/files/patch-gtk_gtkiconcache.c')
-rw-r--r--x11-toolkits/gtk20/files/patch-gtk_gtkiconcache.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-toolkits/gtk20/files/patch-gtk_gtkiconcache.c b/x11-toolkits/gtk20/files/patch-gtk_gtkiconcache.c
new file mode 100644
index 000000000000..d393bd3dfa8d
--- /dev/null
+++ b/x11-toolkits/gtk20/files/patch-gtk_gtkiconcache.c
@@ -0,0 +1,20 @@
+--- gtk/gtkiconcache.c.orig Sun Dec 12 16:09:13 2004
++++ gtk/gtkiconcache.c Thu Dec 16 17:09:23 2004
+@@ -21,6 +21,8 @@
+ #include "gtkdebug.h"
+ #include "gtkiconcache.h"
+ #include <glib/gstdio.h>
++#include <sys/types.h>
++#include <sys/stat.h>
+
+ #ifdef HAVE_MMAP
+ #include <sys/mman.h>
+@@ -29,8 +31,6 @@
+ #include <windows.h>
+ #include <io.h>
+ #endif
+-#include <sys/types.h>
+-#include <sys/stat.h>
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>
+ #endif