sdl2-compat: Define SDL_VIDEO_DRIVER_WAYLAND on Linux

From 3a3e75a7d1f46e4202be93cef834968b130ee28d Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 31 Jan 2025 08:48:13 -0800
Subject: [PATCH] Define SDL_VIDEO_DRIVER_WAYLAND on Linux

Fixes https://github.com/libsdl-org/sdl2-compat/issues/273
---
 include/SDL2/SDL_config.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/SDL2/SDL_config.h b/include/SDL2/SDL_config.h
index 8c37e8d..057d0c0 100644
--- a/include/SDL2/SDL_config.h
+++ b/include/SDL2/SDL_config.h
@@ -73,6 +73,7 @@
 #endif
 #if defined(__LINUX__)
 #define SDL_VIDEO_DRIVER_KMSDRM 1
+#define SDL_VIDEO_DRIVER_WAYLAND 1
 #endif
 #if defined(__MACOSX__)
 #define SDL_VIDEO_DRIVER_COCOA 1