From d2910904fb4062c313636c7595e971f1bf248075 Mon Sep 17 00:00:00 2001 From: Joshua Root Date: Thu, 24 Nov 2022 06:32:49 +1100 Subject: [PATCH] SDL_cocoaopengl.h: ensure CVDisplayLinkRef is defined The typedef seems to be pulled in coincidentally with newer SDKs, but older ones need to import the header explicitly. --- src/video/cocoa/SDL_cocoaopengl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/video/cocoa/SDL_cocoaopengl.h b/src/video/cocoa/SDL_cocoaopengl.h index 7b900dee63..fe8a8e51c1 100644 --- a/src/video/cocoa/SDL_cocoaopengl.h +++ b/src/video/cocoa/SDL_cocoaopengl.h @@ -27,6 +27,7 @@ #include "SDL_atomic.h" #import +#import /* We still support OpenGL as long as Apple offers it, deprecated or not, so disable deprecation warnings about it. */ #ifdef __clang__