From 2d0eaea1ccca94b62c53f4a7d8d7a515d7cd5a5e Mon Sep 17 00:00:00 2001 From: Daniel Gibson Date: Sun, 4 Dec 2022 07:50:57 +0100 Subject: [PATCH] Add missing SDL_main.h includes to remaining libSDLmain implementations this should hopefully make the automated builds work again (this commit can probably be removed once all affected platforms are converted to header-only SDL_main) --- src/main/dummy/SDL_dummy_main.c | 1 + src/main/gdk/SDL_gdk_main.c | 1 + src/main/n3ds/SDL_n3ds_main.c | 1 + src/main/ngage/SDL_ngage_main.cpp | 1 + src/main/ps2/SDL_ps2_main.c | 1 + src/main/psp/SDL_psp_main.c | 1 + src/main/uikit/SDL_uikit_main.c | 1 + src/main/winrt/SDL_winrt_main_NonXAML.cpp | 1 + 8 files changed, 8 insertions(+) diff --git a/src/main/dummy/SDL_dummy_main.c b/src/main/dummy/SDL_dummy_main.c index 3511d65599..347968c9fe 100644 --- a/src/main/dummy/SDL_dummy_main.c +++ b/src/main/dummy/SDL_dummy_main.c @@ -2,6 +2,7 @@ SDL_dummy_main.c, placed in the public domain by Sam Lantinga 3/13/14 */ #include +#include /* until this SDL_main impl is converted to header-only.. */ #ifdef main #undef main diff --git a/src/main/gdk/SDL_gdk_main.c b/src/main/gdk/SDL_gdk_main.c index 3c38b3fd7d..f1cc0bb410 100644 --- a/src/main/gdk/SDL_gdk_main.c +++ b/src/main/gdk/SDL_gdk_main.c @@ -19,6 +19,7 @@ 3. This notice may not be removed or altered from any source distribution. */ #include +#include /* until this SDL_main impl is converted to header-only.. */ /* Include this so we define UNICODE properly */ #include "../../core/windows/SDL_windows.h" diff --git a/src/main/n3ds/SDL_n3ds_main.c b/src/main/n3ds/SDL_n3ds_main.c index b1ce1bdbd2..03034290c3 100644 --- a/src/main/n3ds/SDL_n3ds_main.c +++ b/src/main/n3ds/SDL_n3ds_main.c @@ -19,6 +19,7 @@ 3. This notice may not be removed or altered from any source distribution. */ #include +#include /* until this SDL_main impl is converted to header-only.. */ #ifdef __3DS__ diff --git a/src/main/ngage/SDL_ngage_main.cpp b/src/main/ngage/SDL_ngage_main.cpp index 34b7b959dc..ea05a4ee1f 100644 --- a/src/main/ngage/SDL_ngage_main.cpp +++ b/src/main/ngage/SDL_ngage_main.cpp @@ -2,6 +2,7 @@ SDL_ngage_main.c, originally for SDL 1.2 by Hannu Viitala */ #include +#include /* until this SDL_main impl is converted to header-only.. */ #include #include diff --git a/src/main/ps2/SDL_ps2_main.c b/src/main/ps2/SDL_ps2_main.c index 98afd5bfe6..9e97771cfd 100644 --- a/src/main/ps2/SDL_ps2_main.c +++ b/src/main/ps2/SDL_ps2_main.c @@ -2,6 +2,7 @@ SDL_ps2_main.c, fjtrujy@gmail.com */ #include +#include /* until this SDL_main impl is converted to header-only.. */ #ifdef __PS2__ diff --git a/src/main/psp/SDL_psp_main.c b/src/main/psp/SDL_psp_main.c index 4519de5bb2..c05d3ec4f0 100644 --- a/src/main/psp/SDL_psp_main.c +++ b/src/main/psp/SDL_psp_main.c @@ -2,6 +2,7 @@ SDL_psp_main.c, placed in the public domain by Sam Lantinga 3/13/14 */ #include +#include /* until this SDL_main impl is converted to header-only.. */ #ifdef __PSP__ diff --git a/src/main/uikit/SDL_uikit_main.c b/src/main/uikit/SDL_uikit_main.c index 448af5c088..2b4b204778 100644 --- a/src/main/uikit/SDL_uikit_main.c +++ b/src/main/uikit/SDL_uikit_main.c @@ -2,6 +2,7 @@ SDL_uikit_main.c, placed in the public domain by Sam Lantinga 3/18/2019 */ #include +#include /* until this SDL_main impl is converted to header-only.. */ #if defined(__IOS__) || defined(__TVOS__) diff --git a/src/main/winrt/SDL_winrt_main_NonXAML.cpp b/src/main/winrt/SDL_winrt_main_NonXAML.cpp index e4a30dc2f5..5fc3c4a414 100644 --- a/src/main/winrt/SDL_winrt_main_NonXAML.cpp +++ b/src/main/winrt/SDL_winrt_main_NonXAML.cpp @@ -2,6 +2,7 @@ SDL_winrt_main_NonXAML.cpp, placed in the public domain by David Ludwig 3/13/14 */ #include +#include /* until this SDL_main impl is converted to header-only.. */ #include