[gtk+/gtk-2-24] Fix the build without the Composite headers



commit e3185138acaed37acbe23127878704e267efdaa5
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Feb 12 08:06:31 2011 -0500

    Fix the build without the Composite headers
    
    The code was already protected by #ifdef HAVE_XCOMPOSITE, but
    we forgot the include.
    https://bugzilla.gnome.org/show_bug.cgi?id=642137

 gdk/x11/gdkdnd-x11.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdk/x11/gdkdnd-x11.c b/gdk/x11/gdkdnd-x11.c
index 6782896..cee4042 100644
--- a/gdk/x11/gdkdnd-x11.c
+++ b/gdk/x11/gdkdnd-x11.c
@@ -30,7 +30,9 @@
 #include <X11/Xutil.h>
 #include <X11/Xatom.h>
 #include <X11/extensions/shape.h>
+#ifdef HAVE_XCOMPOSITE
 #include <X11/extensions/Xcomposite.h>
+#endif
 
 #include <string.h>
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]