summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/guile-gtk/files/patch-guile-gtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/guile-gtk/files/patch-guile-gtk.c')
-rw-r--r--x11-toolkits/guile-gtk/files/patch-guile-gtk.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/x11-toolkits/guile-gtk/files/patch-guile-gtk.c b/x11-toolkits/guile-gtk/files/patch-guile-gtk.c
new file mode 100644
index 000000000..b38607b08
--- /dev/null
+++ b/x11-toolkits/guile-gtk/files/patch-guile-gtk.c
@@ -0,0 +1,19 @@
+--- guile-gtk.c.orig Wed Apr 30 23:26:36 2003
++++ guile-gtk.c Wed Apr 30 23:27:57 2003
+@@ -19,6 +19,7 @@
+ #include <string.h>
+ #include <config.h>
+ #include <assert.h>
++#include <sys/types.h>
+ #ifdef GTK_2_0
+ #include <gtk-2.0/gtk/gtk.h>
+ #include <gtk-2.0/gdk/gdkprivate.h>
+@@ -44,6 +45,8 @@
+ #ifndef SCM_VECTOR_SET
+ #define SCM_VECTOR_SET(obj,i,v) (SCM_VELTS(obj)[i]=(v))
+ #endif
++
++typedef unsigned long ulong;
+
+ static SCM
+ sgtk_make_cell (scm_t_bits word0, scm_t_bits word1)