summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk20
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-11-23 10:40:21 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-11-23 10:40:21 +0800
commit3997e45b6a7f9358f284e11e14d5681c32cc093e (patch)
tree86a651b0f8fe8f78853f41904578a7084467ea10 /x11-toolkits/gtk20
parent3abf351dadc8d745103128cfb9a9403990db9e9d (diff)
downloadmarcuscom-ports-3997e45b6a7f9358f284e11e14d5681c32cc093e.tar
marcuscom-ports-3997e45b6a7f9358f284e11e14d5681c32cc093e.tar.gz
marcuscom-ports-3997e45b6a7f9358f284e11e14d5681c32cc093e.tar.bz2
marcuscom-ports-3997e45b6a7f9358f284e11e14d5681c32cc093e.tar.lz
marcuscom-ports-3997e45b6a7f9358f284e11e14d5681c32cc093e.tar.xz
marcuscom-ports-3997e45b6a7f9358f284e11e14d5681c32cc093e.tar.zst
marcuscom-ports-3997e45b6a7f9358f284e11e14d5681c32cc093e.zip
Fix build on 4.X.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3098 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/gtk20')
-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