diff -ruN guile-gtk-2.0-orig/gdk-2.0.defs guile-gtk-2.0/gdk-2.0.defs --- guile-gtk-2.0-orig/gdk-2.0.defs 2007-08-07 10:45:30.000000000 -0700 +++ guile-gtk-2.0/gdk-2.0.defs 2007-08-07 10:46:50.000000000 -0700 @@ -1,6 +1,6 @@ ;; -*- scheme -*- -;; Copyright (C) 2003, 2005, 2006 Free Software Foundation, Inc. +;; Copyright (C) 2003, 2005, 2006, 2007 Free Software Foundation, Inc. ;; ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as @@ -2291,6 +2291,15 @@ (options (includes "#include " "#include " - "#include ") + "#include " + " +/* These macros not in pango 1.8.1 which comes with gtk 2.6.7 */ +#ifndef PANGO_PIXELS_FLOOR +#define PANGO_PIXELS_FLOOR(d) (((int)(d)) >> 10) +#endif +#ifndef PANGO_PIXELS_CEIL +#define PANGO_PIXELS_CEIL(d) (((int)(d) + 1023) >> 10) +#endif") + (init-func "sgtk_init_gtk_gdk_glue") (extra-init-code "sgtk_init_gdk_support ();"))