SDL: wayland: Fix building without Vulkan support

From 124405a0bc856f97b1e4085da9d900e42b82e07d Mon Sep 17 00:00:00 2001
From: Ethan Lee <[EMAIL REDACTED]>
Date: Tue, 3 Aug 2021 13:17:19 -0400
Subject: [PATCH] wayland: Fix building without Vulkan support

---
 src/video/wayland/SDL_waylandvideo.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/video/wayland/SDL_waylandvideo.h b/src/video/wayland/SDL_waylandvideo.h
index ef769cee3..22cf53c00 100644
--- a/src/video/wayland/SDL_waylandvideo.h
+++ b/src/video/wayland/SDL_waylandvideo.h
@@ -92,6 +92,9 @@ typedef struct {
     SDL_bool done;
 } SDL_WaylandOutputData;
 
+/* Needed to get wl_surface declaration, fixes GitHub#4594 */
+#include "SDL_waylanddyn.h"
+
 extern void SDL_WAYLAND_register_surface(struct wl_surface *surface);
 extern void SDL_WAYLAND_register_output(struct wl_output *output);
 extern SDL_bool SDL_WAYLAND_own_surface(struct wl_surface *surface);