Commit ff8d2e14937ed32d7bd4f66837901639cdada98f

Sam Lantinga 2017-08-28T01:42:18

Fixed build when Wayland is dynamically loaded

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/video/SDL_vulkan_internal.h b/src/video/SDL_vulkan_internal.h
index f47490b..ed4d7bf 100644
--- a/src/video/SDL_vulkan_internal.h
+++ b/src/video/SDL_vulkan_internal.h
@@ -46,6 +46,7 @@
 #endif
 #if SDL_VIDEO_DRIVER_WAYLAND
 #define VK_USE_PLATFORM_WAYLAND_KHR
+#include "wayland/SDL_waylanddyn.h"
 #endif
 #if SDL_VIDEO_DRIVER_WINDOWS
 #define VK_USE_PLATFORM_WIN32_KHR