From d29a0e3f31084ce4e760944f801e61ce1d8170e7 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 18 Sep 2024 14:34:14 -0700
Subject: [PATCH] Fixed warning: no previous prototype for function
---
src/file/SDL_iostream.c | 2 ++
src/stdlib/SDL_getenv.c | 1 +
2 files changed, 3 insertions(+)
diff --git a/src/file/SDL_iostream.c b/src/file/SDL_iostream.c
index bb14e090acb90..950120c8747f9 100644
--- a/src/file/SDL_iostream.c
+++ b/src/file/SDL_iostream.c
@@ -20,6 +20,8 @@
*/
#include "SDL_internal.h"
+#include "SDL_iostream_c.h"
+
#if defined(SDL_PLATFORM_WINDOWS)
#include "../core/windows/SDL_windows.h"
#endif
diff --git a/src/stdlib/SDL_getenv.c b/src/stdlib/SDL_getenv.c
index 98dabe6708363..6b691e3df1513 100644
--- a/src/stdlib/SDL_getenv.c
+++ b/src/stdlib/SDL_getenv.c
@@ -21,6 +21,7 @@
#include "SDL_internal.h"
#include "../SDL_hashtable.h"
+#include "SDL_getenv_c.h"
#if defined(SDL_PLATFORM_WIN32) || defined(SDL_PLATFORM_WINGDK)
#include "../core/windows/SDL_windows.h"