summaryrefslogtreecommitdiff
path: root/apple_remote/inc/RemoteMainController.h
diff options
context:
space:
mode:
Diffstat (limited to 'apple_remote/inc/RemoteMainController.h')
-rw-r--r--apple_remote/inc/RemoteMainController.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/apple_remote/inc/RemoteMainController.h b/apple_remote/inc/RemoteMainController.h
index 7143f1f1eda9..167454071caf 100644
--- a/apple_remote/inc/RemoteMainController.h
+++ b/apple_remote/inc/RemoteMainController.h
@@ -28,6 +28,16 @@
*
*****************************************************************************/
+#ifndef DID_DEFINE_SOME_FUTURE_TYPES
+#import <Foundation/NSObjCRuntime.h>
+#if defined (NSFoundationVersionNumber10_5) && MAC_OS_X_VERSION_MAX_ALLOWED < 1050
+@class CALayer;
+@class NSViewController;
+typedef int NSColorRenderingIntent;
+#define DID_DEFINE_SOME_FUTURE_TYPES
+#endif
+#endif
+
#import <Cocoa/Cocoa.h>
#define AppleRemoteControlEvent 15