Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information