Maelstrom: Change headers from SDL2 to SDL3

From 9bf0a7b49662e3d1160a9277f9eeba12db266598 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sun, 9 Mar 2025 10:44:52 -0700
Subject: [PATCH] Change headers from SDL2 to SDL3

---
 buttonlist.h             | 2 +-
 fastrand.cpp             | 2 +-
 maclib/Mac_FontServ.cpp  | 2 +-
 maclib/Mac_Resource.cpp  | 2 +-
 maclib/Mac_Sound.h       | 2 +-
 myerror.cpp              | 2 +-
 screenlib/SDL_FrameBuf.h | 2 +-
 screenlib/pixel.cpp      | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/buttonlist.h b/buttonlist.h
index ec01adc..13975a4 100644
--- a/buttonlist.h
+++ b/buttonlist.h
@@ -1,7 +1,7 @@
 
 /*  A simple menu button class -- only handles mouse input */
 
-#include "SDL_types.h"
+#include <SDL3/SDL.h>
 
 
 class ButtonList {
diff --git a/fastrand.cpp b/fastrand.cpp
index 3714f02..2165b69 100644
--- a/fastrand.cpp
+++ b/fastrand.cpp
@@ -5,7 +5,7 @@
 #include <stdio.h>
 #include <time.h>
 
-#include "SDL_types.h"
+#include <SDL3/SDL.h>
 
 static Uint32 randomSeed;
 
diff --git a/maclib/Mac_FontServ.cpp b/maclib/Mac_FontServ.cpp
index 39a54d0..b050d27 100644
--- a/maclib/Mac_FontServ.cpp
+++ b/maclib/Mac_FontServ.cpp
@@ -24,7 +24,7 @@
 #include <ctype.h>
 #include <string.h>
 
-#include "SDL_types.h"
+#include <SDL3/SDL.h>
 #include "bitesex.h"
 #include "Mac_FontServ.h"
 
diff --git a/maclib/Mac_Resource.cpp b/maclib/Mac_Resource.cpp
index 769213a..70d404e 100644
--- a/maclib/Mac_Resource.cpp
+++ b/maclib/Mac_Resource.cpp
@@ -27,7 +27,7 @@ Note: Most of the info in this file came from "Inside Macintosh"
 #include <stdlib.h>
 #include <string.h>
 
-#include "SDL_types.h"
+#include <SDL3/SDL.h>
 #include "bitesex.h"
 #include "Mac_Resource.h"
 
diff --git a/maclib/Mac_Sound.h b/maclib/Mac_Sound.h
index 9351524..ffff3b9 100644
--- a/maclib/Mac_Sound.h
+++ b/maclib/Mac_Sound.h
@@ -24,7 +24,7 @@
 #include <stdio.h>
 #include <stdarg.h>
 #include <string.h>
-#include "SDL_types.h"
+#include <SDL3/SDL.h>
 #include "SDL_mutex.h"
 #include "SDL_thread.h"
 #include "SDL_audio.h"
diff --git a/myerror.cpp b/myerror.cpp
index ed7a198..e4f1665 100644
--- a/myerror.cpp
+++ b/myerror.cpp
@@ -9,7 +9,7 @@
 #include <string.h>
 #include <errno.h>
 
-#include "SDL.h"
+#include <SDL3/SDL.h>
 
 
 void error(const char *fmt, ...)
diff --git a/screenlib/SDL_FrameBuf.h b/screenlib/SDL_FrameBuf.h
index 785d1dd..38dd764 100644
--- a/screenlib/SDL_FrameBuf.h
+++ b/screenlib/SDL_FrameBuf.h
@@ -30,7 +30,7 @@
 #include <string.h>
 #include <stdarg.h>
 
-#include "SDL.h"
+#include <SDL3/SDL.h>
 
 typedef enum {
 	DOCLIP,
diff --git a/screenlib/pixel.cpp b/screenlib/pixel.cpp
index 3d77023..fb8987d 100644
--- a/screenlib/pixel.cpp
+++ b/screenlib/pixel.cpp
@@ -17,7 +17,7 @@
     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
 
-#include "SDL.h"
+#include <SDL3/SDL.h>
 #include "pixel.h"
 
 void PutPixel1(Uint8 *screen_loc, SDL_Surface *screen, Uint32 pixel) {