xbmc/xbmc — pull request #5768 by AndriyP (2014-11-20 11:17:04+00:00)
Title: fixed build for wayland backend. Avoid including X11 headers

/usr/include/EGL/eglplatform.h:118:22: fatal error: X11/Xlib.h: No such file or directory

Before including correct egl platform should be defined. Added include for wayland case.

Signed-off-by: Andriy Prystupa