From 1209abf9dc4f98697ce77cb9f295191eaf3df93f Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 19 Nov 2025 10:47:31 -0800 Subject: [PATCH] Fixed macOS build --- src/joystick/apple/SDL_mfijoystick.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/joystick/apple/SDL_mfijoystick.m b/src/joystick/apple/SDL_mfijoystick.m index 484891bb1b..1183a03475 100644 --- a/src/joystick/apple/SDL_mfijoystick.m +++ b/src/joystick/apple/SDL_mfijoystick.m @@ -26,7 +26,10 @@ #include "../hidapi/SDL_hidapijoystick_c.h" #include "../usb_ids.h" #include "../../events/SDL_events_c.h" + +#ifdef SDL_VIDEO_DRIVER_UIKIT #include "../../video/uikit/SDL_uikitvideo.h" +#endif #include "SDL_mfijoystick_c.h"