commit 589c7a0b272d652eb3c02834d569c0d571be07d9
Author: Hib Eris <hib@hiberis.nl>
Date:   Wed Feb 4 16:32:18 2009 +0100

    Include gdkx.h only with X11.

diff --git a/shell/ev-application.c b/shell/ev-application.c
index 3a099f3..7b6c82f 100644
--- a/shell/ev-application.c
+++ b/shell/ev-application.c
@@ -28,7 +28,9 @@
 #include <glib.h>
 #include <glib/gi18n.h>
 #include <gtk/gtk.h>
+#ifdef GDK_WINDOWING_X11
 #include <gdk/gdkx.h>
+#endif
 
 #include "totem-scrsaver.h"
 #include "eggsmclient.h"
