This header unconditionally defines HAVE_WAYLAND when GTK is built with Wayland support. This breaks the build when building with Wayland disabled. https://bugzilla.gnome.org/show_bug.cgi?id=785414
Only define HAVE_WAYLAND when GDK_WINDOWING_WAYLAND is defined. https://bugzilla.gnome.org/show_bug.cgi?id=743266
https://bugzilla.gnome.org/show_bug.cgi?id=743266