From 89fced63b8193de3e17150e166b53c947fffcb89 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 5 Oct 2013 14:39:27 +0200 Subject: [PATCH] cocoa_common: add OS X 10.7 compatibility hacks includes I forgot these when I split the code. They will hopefully fix compilation on 10.7. --- video/out/cocoa/additions.m | 1 + video/out/cocoa_common.m | 1 + 2 files changed, 2 insertions(+) diff --git a/video/out/cocoa/additions.m b/video/out/cocoa/additions.m index 3caabef956..02803003fa 100644 --- a/video/out/cocoa/additions.m +++ b/video/out/cocoa/additions.m @@ -16,6 +16,7 @@ */ #import "additions.h" +#include "osdep/macosx_compat.h" @implementation NSScreen (mpvadditions) - (BOOL)hasDock diff --git a/video/out/cocoa_common.m b/video/out/cocoa_common.m index 85d92c861f..9f03cd8d48 100644 --- a/video/out/cocoa_common.m +++ b/video/out/cocoa_common.m @@ -27,6 +27,7 @@ #include "video/out/cocoa/view.h" #import "video/out/cocoa/mpvadapter.h" +#include "osdep/macosx_compat.h" #include "osdep/macosx_application.h" #include "osdep/macosx_events.h"