2
0
Эх сурвалжийг харах

wayland: fix build with SDL_WAYLAND_SHARED=OFF/--enable-wayland-shared=no

Anonymous Maarten 3 жил өмнө
parent
commit
ce227aa69e

+ 4 - 0
src/video/wayland/SDL_waylanddyn.c

@@ -85,6 +85,10 @@ WAYLAND_GetSym(const char *fnname, int *pHasModule)
     return fn;
 }
 
+#else
+
+#include <wayland-egl.h>
+
 #endif /* SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC */
 
 /* Define all the function pointers and wrappers... */