Added missing SDL_sysfilesystem.h includes

This commit is contained in:
Sam Lantinga 2024-07-17 09:09:42 -07:00
parent 2eda7b2c24
commit b3df46e4bc
16 changed files with 45 additions and 9 deletions

View file

@ -25,6 +25,8 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* System dependent filesystem routines */
#include "../SDL_sysfilesystem.h"
#include <unistd.h>
char *SDL_SYS_GetBasePath(void)

View file

@ -25,6 +25,8 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* System dependent filesystem routines */
#include "../SDL_sysfilesystem.h"
#include <Foundation/Foundation.h>
#include <sys/stat.h>
#include <sys/types.h>

View file

@ -25,6 +25,8 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* System dependent filesystem routines */
#include "../SDL_sysfilesystem.h"
char *SDL_SYS_GetBasePath(void)
{
SDL_Unsupported();

View file

@ -23,6 +23,9 @@
#if defined(SDL_FSOPS_DUMMY)
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* System dependent filesystem routines */
#include "../SDL_sysfilesystem.h"
int SDL_SYS_EnumerateDirectory(const char *path, const char *dirname, SDL_EnumerateDirectoryCallback cb, void *userdata)

View file

@ -24,6 +24,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* System dependent filesystem routines */
#include "../SDL_sysfilesystem.h"
#include <errno.h>
#include <sys/stat.h>

View file

@ -20,10 +20,11 @@
*/
#include "SDL_internal.h"
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* System dependent filesystem routines */
#include "../SDL_sysfilesystem.h"
#include "../../core/windows/SDL_windows.h"
#include <SDL3/SDL_hints.h>
#include <SDL3/SDL_system.h>

View file

@ -25,6 +25,8 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* System dependent filesystem routines */
#include "../SDL_sysfilesystem.h"
#include <3ds.h>
#include <dirent.h>
#include <errno.h>

View file

@ -23,14 +23,17 @@
#if defined(SDL_FSOPS_POSIX)
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* System dependent filesystem routines */
#include "../SDL_sysfilesystem.h"
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <dirent.h>
#include <sys/stat.h>
#include "../SDL_sysfilesystem.h"
int SDL_SYS_EnumerateDirectory(const char *path, const char *dirname, SDL_EnumerateDirectoryCallback cb, void *userdata)
{
int retval = 1;

View file

@ -20,14 +20,16 @@
*/
#include "SDL_internal.h"
#include <sys/stat.h>
#include <unistd.h>
#ifdef SDL_FILESYSTEM_PS2
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* System dependent filesystem routines */
#include "../SDL_sysfilesystem.h"
#include <sys/stat.h>
#include <unistd.h>
char *SDL_SYS_GetBasePath(void)
{
char *retval = NULL;

View file

@ -20,14 +20,16 @@
*/
#include "SDL_internal.h"
#include <sys/stat.h>
#include <unistd.h>
#ifdef SDL_FILESYSTEM_PSP
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* System dependent filesystem routines */
#include "../SDL_sysfilesystem.h"
#include <sys/stat.h>
#include <unistd.h>
char *SDL_SYS_GetBasePath(void)
{
char *retval = NULL;

View file

@ -25,6 +25,8 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* System dependent filesystem routines */
#include "../SDL_sysfilesystem.h"
#include <kernel.h>
#include <swis.h>
#include <unixlib/local.h>

View file

@ -25,6 +25,8 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* System dependent filesystem routines */
#include "../SDL_sysfilesystem.h"
#include <stdio.h>
#include <sys/stat.h>
#include <sys/types.h>

View file

@ -25,6 +25,8 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* System dependent filesystem routines */
#include "../SDL_sysfilesystem.h"
#include <errno.h>
#include <stdio.h>
#include <unistd.h>

View file

@ -25,6 +25,8 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* System dependent filesystem routines */
#include "../SDL_sysfilesystem.h"
#include "../../core/windows/SDL_windows.h"
#include <shlobj.h>
#include <initguid.h>

View file

@ -23,6 +23,9 @@
#if defined(SDL_FSOPS_WINDOWS)
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* System dependent filesystem routines */
#include "../../core/windows/SDL_windows.h"
#include "../SDL_sysfilesystem.h"

View file

@ -25,6 +25,9 @@
#ifdef SDL_PLATFORM_WINRT
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* System dependent filesystem routines */
extern "C" {
#include "../../core/windows/SDL_windows.h"
#include "../SDL_sysfilesystem.h"