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)
This commit is contained in:
Daniel Gibson 2022-12-04 07:50:57 +01:00 committed by Sam Lantinga
parent 22e22ba196
commit 2d0eaea1cc
8 changed files with 8 additions and 0 deletions

View File

@ -2,6 +2,7 @@
SDL_dummy_main.c, placed in the public domain by Sam Lantinga 3/13/14
*/
#include <SDL3/SDL.h>
#include <SDL3/SDL_main.h> /* until this SDL_main impl is converted to header-only.. */
#ifdef main
#undef main

View File

@ -19,6 +19,7 @@
3. This notice may not be removed or altered from any source distribution.
*/
#include <SDL3/SDL.h>
#include <SDL3/SDL_main.h> /* until this SDL_main impl is converted to header-only.. */
/* Include this so we define UNICODE properly */
#include "../../core/windows/SDL_windows.h"

View File

@ -19,6 +19,7 @@
3. This notice may not be removed or altered from any source distribution.
*/
#include <SDL3/SDL.h>
#include <SDL3/SDL_main.h> /* until this SDL_main impl is converted to header-only.. */
#ifdef __3DS__

View File

@ -2,6 +2,7 @@
SDL_ngage_main.c, originally for SDL 1.2 by Hannu Viitala
*/
#include <SDL3/SDL.h>
#include <SDL3/SDL_main.h> /* until this SDL_main impl is converted to header-only.. */
#include <e32std.h>
#include <e32def.h>

View File

@ -2,6 +2,7 @@
SDL_ps2_main.c, fjtrujy@gmail.com
*/
#include <SDL3/SDL.h>
#include <SDL3/SDL_main.h> /* until this SDL_main impl is converted to header-only.. */
#ifdef __PS2__

View File

@ -2,6 +2,7 @@
SDL_psp_main.c, placed in the public domain by Sam Lantinga 3/13/14
*/
#include <SDL3/SDL.h>
#include <SDL3/SDL_main.h> /* until this SDL_main impl is converted to header-only.. */
#ifdef __PSP__

View File

@ -2,6 +2,7 @@
SDL_uikit_main.c, placed in the public domain by Sam Lantinga 3/18/2019
*/
#include <SDL3/SDL.h>
#include <SDL3/SDL_main.h> /* until this SDL_main impl is converted to header-only.. */
#if defined(__IOS__) || defined(__TVOS__)

View File

@ -2,6 +2,7 @@
SDL_winrt_main_NonXAML.cpp, placed in the public domain by David Ludwig 3/13/14
*/
#include <SDL3/SDL.h>
#include <SDL3/SDL_main.h> /* until this SDL_main impl is converted to header-only.. */
#include <wrl.h>