[vlc-commits] macosx: fix compilation with the 10.5 SDK

Felix Paul Kühne git at videolan.org
Wed Aug 17 12:21:45 CEST 2011


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Aug 17 12:21:36 2011 +0200| [22bc39a7e72daa366f3047bb96b35d13143e007a] | committer: Felix Paul Kühne

macosx: fix compilation with the 10.5 SDK

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=22bc39a7e72daa366f3047bb96b35d13143e007a
---

 modules/gui/macosx/MainWindow.h     |    1 +
 modules/gui/macosx/embeddedwindow.h |    1 +
 modules/gui/macosx/intf.h           |   15 ++++++++-------
 modules/gui/macosx/misc.h           |    1 +
 4 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/modules/gui/macosx/MainWindow.h b/modules/gui/macosx/MainWindow.h
index f6b5e4f..c353e23 100644
--- a/modules/gui/macosx/MainWindow.h
+++ b/modules/gui/macosx/MainWindow.h
@@ -25,6 +25,7 @@
  *****************************************************************************/
 
 #import <Cocoa/Cocoa.h>
+#import "CompatibilityFixes.h"
 #import "PXSourceList.h"
 #import <vlc_input.h>
 #import "misc.h"
diff --git a/modules/gui/macosx/embeddedwindow.h b/modules/gui/macosx/embeddedwindow.h
index 420c62a..d66271e 100644
--- a/modules/gui/macosx/embeddedwindow.h
+++ b/modules/gui/macosx/embeddedwindow.h
@@ -25,6 +25,7 @@
  * VLCEmbeddedWindow interface
  *****************************************************************************/
 
+#import "CompatibilityFixes.h"
 #import "misc.h"
 
 @interface VLCEmbeddedWindow : NSWindow <NSWindowDelegate, NSAnimationDelegate>
diff --git a/modules/gui/macosx/intf.h b/modules/gui/macosx/intf.h
index 83a7391..a6a67aa 100644
--- a/modules/gui/macosx/intf.h
+++ b/modules/gui/macosx/intf.h
@@ -28,14 +28,15 @@
 #   include "config.h"
 #endif
 
-#include <vlc_common.h>
-#include <vlc_interface.h>
-#include <vlc_playlist.h>
-#include <vlc_vout.h>
-#include <vlc_aout.h>
-#include <vlc_input.h>
-
-#include <Cocoa/Cocoa.h>
+#import <vlc_common.h>
+#import <vlc_interface.h>
+#import <vlc_playlist.h>
+#import <vlc_vout.h>
+#import <vlc_aout.h>
+#import <vlc_input.h>
+
+#import <Cocoa/Cocoa.h>
+#import "CompatibilityFixes.h"
 #import "SPMediaKeyTap.h"                   /* for the media key support */
 #import "misc.h"
 #import "MainWindow.h"
diff --git a/modules/gui/macosx/misc.h b/modules/gui/macosx/misc.h
index da19f3c..a3361ec 100644
--- a/modules/gui/macosx/misc.h
+++ b/modules/gui/macosx/misc.h
@@ -24,6 +24,7 @@
 
 #import <Cocoa/Cocoa.h>
 #import <ApplicationServices/ApplicationServices.h>
+#import "CompatibilityFixes.h"
 
 /*****************************************************************************
  * NSAnimation (VLCAddition)



More information about the vlc-commits mailing list