mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
wayland: Fix building with -fno-common (which is now the default in GCC 10).
Fixes Bugzilla #4957.
This commit is contained in:
parent
d55f47d564
commit
4378fcd9a7
@ -59,6 +59,9 @@ void SDL_WAYLAND_UnloadSymbols(void);
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Must be included before our #defines, see Bugzilla #4957 */
|
||||
#include "wayland-client-core.h"
|
||||
|
||||
#ifdef SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC
|
||||
|
||||
#ifdef _WAYLAND_CLIENT_H
|
||||
@ -99,7 +102,6 @@ void SDL_WAYLAND_UnloadSymbols(void);
|
||||
|
||||
#endif /* SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC */
|
||||
|
||||
#include "wayland-client-core.h"
|
||||
#include "wayland-client-protocol.h"
|
||||
#include "wayland-egl.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user