Commit 777d0f19f803d3108c20823dadf121760667ac0b

Ryan C. Gordon 2020-10-05T14:06:25

url: patched to compile on macOS.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/misc/macosx/SDL_sysurl.m b/src/misc/macosx/SDL_sysurl.m
index 18324e3..80247f3 100644
--- a/src/misc/macosx/SDL_sysurl.m
+++ b/src/misc/macosx/SDL_sysurl.m
@@ -21,6 +21,8 @@
 
 #include "../../SDL_internal.h"
 
+#import <Cocoa/Cocoa.h>
+
 int
 SDL_SYS_OpenURL(const char *url)
 { @autoreleasepool