summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-10-05 14:39:27 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-10-05 14:40:48 +0200
commit89fced63b8193de3e17150e166b53c947fffcb89 (patch)
treee84ec85854bdedce28875684f5a18f3b8bd63e6c
parent6a0408be68153fec89405ec568e62f4ce306ea9d (diff)
downloadmpv-89fced63b8193de3e17150e166b53c947fffcb89.tar.bz2
mpv-89fced63b8193de3e17150e166b53c947fffcb89.tar.xz
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.
-rw-r--r--video/out/cocoa/additions.m1
-rw-r--r--video/out/cocoa_common.m1
2 files changed, 2 insertions, 0 deletions
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"