[gtk+] Include <X11/Xutil.h> in gdkdnd-x11.c



commit 791962e06d0511c5e9435acb569a60b34fc279cf
Author: Javier Jardón <jjardon gnome org>
Date:   Thu Apr 8 17:46:45 2010 +0200

    Include <X11/Xutil.h> in gdkdnd-x11.c
    
    Otherwise, inclusion of shape.h triggers an unknown type error
    for Region, and compile fails, at least in Solaris.
    
    Reported by Philip Brown here:
    https://bugzilla.gnome.org/show_bug.cgi?id=615028

 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 60adca0..4b7fd85 100644
--- a/gdk/x11/gdkdnd-x11.c
+++ b/gdk/x11/gdkdnd-x11.c
@@ -25,7 +25,9 @@
  */
 
 #include "config.h"
+
 #include <X11/Xlib.h>
+#include <X11/Xutil.h>
 #include <X11/Xatom.h>
 #include <X11/extensions/shape.h>
 



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