wayland: Fix building with -fno-common (which is now the default in GCC 10).
Fixes Bugzilla #4957. --HG-- extra : rebase_source : 64466e107af6f0a6c825ba2e89fb45c30b531fd5
This commit is contained in:
parent
6d2f81225b
commit
1beeec74ae
1 changed files with 3 additions and 1 deletions
|
@ -59,6 +59,9 @@ void SDL_WAYLAND_UnloadSymbols(void);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Must be included before our #defines, see Bugzilla #4957 */
|
||||||
|
#include "wayland-client-core.h"
|
||||||
|
|
||||||
#ifdef SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC
|
#ifdef SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC
|
||||||
|
|
||||||
#ifdef _WAYLAND_CLIENT_H
|
#ifdef _WAYLAND_CLIENT_H
|
||||||
|
@ -99,7 +102,6 @@ void SDL_WAYLAND_UnloadSymbols(void);
|
||||||
|
|
||||||
#endif /* SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC */
|
#endif /* SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC */
|
||||||
|
|
||||||
#include "wayland-client-core.h"
|
|
||||||
#include "wayland-client-protocol.h"
|
#include "wayland-client-protocol.h"
|
||||||
#include "wayland-egl.h"
|
#include "wayland-egl.h"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue