Explorar o código

url: patched to compile on macOS.

Ryan C. Gordon %!s(int64=5) %!d(string=hai) anos
pai
achega
777d0f19f8
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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