diff --git a/src/x11/events.c b/src/x11/events.c index adb567205..19fbcaa4d 100644 --- a/src/x11/events.c +++ b/src/x11/events.c @@ -35,8 +35,11 @@ #include "x11/window-x11.h" #include "x11/xprops.h" + +#ifdef HAVE_WAYLAND #include "wayland/meta-xwayland.h" #include "wayland/meta-wayland-private.h" +#endif static XIEvent * get_input_event (MetaDisplay *display,