Some conditions added to build also on wayland
[platform/upstream/at-spi2-core.git] / registryd / ucs2keysym.c
index b4967be..539685c 100644 (file)
@@ -30,8 +30,9 @@
  * This software is in the public domain. Share and enjoy!
  *
  */
-
+#ifdef HAVE_X11
 #include <X11/X.h>
+#endif
 #include "deviceeventcontroller.h"     /* for prototype */
 
 struct codepair {