This version of LÖVE uses SDL 1 not SDL 2.
--- src/modules/graphics/opengl/GLee.c.orig	2024-05-17 04:30:19.000000000 -0500
+++ src/modules/graphics/opengl/GLee.c	2024-05-28 03:07:11.000000000 -0500
@@ -45,7 +45,7 @@
 #if defined(__APPLE__) || defined(__APPLE_CC__)
 #define GLEE_USE_SDL
 #ifdef GLEE_USE_SDL
-	#include <SDL2/SDL_video.h>
+	#include <SDL/SDL_video.h>
 #else
 	#include <CoreFoundation/CFBundle.h>
 #endif
