Commit 11b63facd52ddf77f73facff164df1f171e3511e

Paul Cercueil 2020-03-02T15:14:02

Prevent Mesa from including X11 headers if X11 is disabled This fixes compilation errors that occur when trying to compile SDL2 for a X11-less target. The errors were due to the fact that Mesa will include X11 headers unless a couple of macros are defined. Signed-off-by: Paul Cercueil <paul@crapouillou.net>