summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2021-02-09 15:02:55 -0800
committerSam Lantinga <slouken@libsdl.org>2021-02-09 15:02:55 -0800
commitb4b2c864d0a4139424fea9c5e7fbff5d77144537 (patch)
tree39844b22186438420f1bd5b2580df89871d55e1a
parent3984e71471ee06e53be6e2db404763d7c6441b7e (diff)
downloadsdl-b4b2c864d0a4139424fea9c5e7fbff5d77144537.tar.gz
Fixed bug 5543 - Wayland: Fix waylandvideo.h warnings
wahil1976 This patch fixes the warnings seen when compiling the Wayland backend. This will also be required in the future to avoid issues with compilation.
-rw-r--r--src/video/wayland/SDL_waylandvideo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video/wayland/SDL_waylandvideo.h b/src/video/wayland/SDL_waylandvideo.h
index 354947424..e4b865d51 100644
--- a/src/video/wayland/SDL_waylandvideo.h
+++ b/src/video/wayland/SDL_waylandvideo.h
@@ -35,6 +35,7 @@
*/
#define MESA_EGL_NO_X11_HEADERS
+#define EGL_NO_X11
#include <EGL/egl.h>
#include "wayland-util.h"