summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 000000000..9100294fe
--- /dev/null
+++ b/x11-toolkits/gtk20/files/patch-gtk_gtkiconcache.c
@@ -0,0 +1,20 @@
+--- gtk/gtkiconcache.c.orig Mon Nov 22 21:39:32 2004
++++ gtk/gtkiconcache.c Mon Nov 22 21:39:53 2004
+@@ -20,6 +20,8 @@
+ #include <config.h>
+ #include "gtkdebug.h"
+ #include "gtkiconcache.h"
++#include <sys/types.h>
++#include <sys/stat.h>
+
+ #ifdef HAVE_MMAP
+ #include <sys/mman.h>
+@@ -27,8 +29,6 @@
+ #ifdef G_OS_WIN32
+ #include <io.h>
+ #endif
+-#include <sys/types.h>
+-#include <sys/stat.h>
+ #ifdef HAVE_UNISTD_H
+ #include <unistd.h>
+ #endif