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

This commit is contained in:
Anonymous Maarten 2022-08-26 01:57:09 +02:00 committed by Sam Lantinga
parent 711846c1f4
commit ce227aa69e
1 changed files with 4 additions and 0 deletions

View File

@ -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... */