anv: resolve wayland-only build
authorEmil Velikov <emil.velikov@collabora.com>
Sat, 28 May 2016 18:49:37 +0000 (19:49 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 30 May 2016 09:26:35 +0000 (10:26 +0100)
commit93e65fdcac10545504b588e24d3ef03fa3e9e424
treea1b8d6cb8f614f534a8b173cea9c172426c7add5
parent5068d307f912ebe776a273c82aa427e4d6002120
anv: resolve wayland-only build

Ensure that the final X11/XCB hunk is guarded by the correct macro.
Otherwise we'll require the symbol even when building without said
platform.

Cc: Cedric Sodhi <manday@openmail.cc>
Reported-by: Cedric Sodhi <manday@openmail.cc>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_wsi.c