From d1739ce3a826bbae22f88d8fba70462499f3734c Mon Sep 17 00:00:00 2001
From: Petar Popovic <pjoetri@gmail.com>
Date: Sat, 31 Aug 2024 20:27:01 +0200
Subject: [PATCH] Added headers to some SDL_test_*.h files

---
 include/SDL3/SDL_test_assert.h  | 2 ++
 include/SDL3/SDL_test_font.h    | 4 ++++
 include/SDL3/SDL_test_fuzzer.h  | 2 ++
 include/SDL3/SDL_test_harness.h | 2 ++
 include/SDL3/SDL_test_log.h     | 2 ++
 include/SDL3/SDL_test_md5.h     | 2 ++
 6 files changed, 14 insertions(+)

diff --git a/include/SDL3/SDL_test_assert.h b/include/SDL3/SDL_test_assert.h
index 98d8680c2c..64a149d61f 100644
--- a/include/SDL3/SDL_test_assert.h
+++ b/include/SDL3/SDL_test_assert.h
@@ -34,6 +34,8 @@
 #ifndef SDL_test_assert_h_
 #define SDL_test_assert_h_
 
+#include <SDL3/SDL_stdinc.h>
+
 #include <SDL3/SDL_begin_code.h>
 /* Set up for C function definitions, even when using C++ */
 #ifdef __cplusplus
diff --git a/include/SDL3/SDL_test_font.h b/include/SDL3/SDL_test_font.h
index 45437ca93c..8a65fe9479 100644
--- a/include/SDL3/SDL_test_font.h
+++ b/include/SDL3/SDL_test_font.h
@@ -30,6 +30,10 @@
 #ifndef SDL_test_font_h_
 #define SDL_test_font_h_
 
+#include <SDL3/SDL_stdinc.h>
+#include <SDL3/SDL_rect.h>
+#include <SDL3/SDL_render.h>
+
 #include <SDL3/SDL_begin_code.h>
 /* Set up for C function definitions, even when using C++ */
 #ifdef __cplusplus
diff --git a/include/SDL3/SDL_test_fuzzer.h b/include/SDL3/SDL_test_fuzzer.h
index 89606ef3b0..a935de21f8 100644
--- a/include/SDL3/SDL_test_fuzzer.h
+++ b/include/SDL3/SDL_test_fuzzer.h
@@ -34,6 +34,8 @@
 #ifndef SDL_test_fuzzer_h_
 #define SDL_test_fuzzer_h_
 
+#include <SDL3/SDL_stdinc.h>
+
 #include <SDL3/SDL_begin_code.h>
 /* Set up for C function definitions, even when using C++ */
 #ifdef __cplusplus
diff --git a/include/SDL3/SDL_test_harness.h b/include/SDL3/SDL_test_harness.h
index 70adc3585a..3023889049 100644
--- a/include/SDL3/SDL_test_harness.h
+++ b/include/SDL3/SDL_test_harness.h
@@ -36,6 +36,8 @@
 #ifndef SDL_test_h_arness_h
 #define SDL_test_h_arness_h
 
+#include <SDL3/SDL_stdinc.h>
+
 #include <SDL3/SDL_begin_code.h>
 /* Set up for C function definitions, even when using C++ */
 #ifdef __cplusplus
diff --git a/include/SDL3/SDL_test_log.h b/include/SDL3/SDL_test_log.h
index 315d0ae0ea..d0aaf340a7 100644
--- a/include/SDL3/SDL_test_log.h
+++ b/include/SDL3/SDL_test_log.h
@@ -36,6 +36,8 @@
 #ifndef SDL_test_log_h_
 #define SDL_test_log_h_
 
+#include <SDL3/SDL_stdinc.h>
+
 #include <SDL3/SDL_begin_code.h>
 /* Set up for C function definitions, even when using C++ */
 #ifdef __cplusplus
diff --git a/include/SDL3/SDL_test_md5.h b/include/SDL3/SDL_test_md5.h
index 06a6272bd5..81d601df84 100644
--- a/include/SDL3/SDL_test_md5.h
+++ b/include/SDL3/SDL_test_md5.h
@@ -56,6 +56,8 @@
 #ifndef SDL_test_md5_h_
 #define SDL_test_md5_h_
 
+#include <SDL3/SDL_stdinc.h>
+
 #include <SDL3/SDL_begin_code.h>
 /* Set up for C function definitions, even when using C++ */
 #ifdef __cplusplus