Browse Source

url: patched to compile on macOS.

Ryan C. Gordon 4 years ago
parent
commit
777d0f19f8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/misc/macosx/SDL_sysurl.m

+ 2 - 0
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