summaryrefslogtreecommitdiff
path: root/apple_remote/inc/RemoteControl.h
diff options
context:
space:
mode:
Diffstat (limited to 'apple_remote/inc/RemoteControl.h')
-rw-r--r--apple_remote/inc/RemoteControl.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/apple_remote/inc/RemoteControl.h b/apple_remote/inc/RemoteControl.h
index cbf8fd856235..a39f53ba65a2 100644
--- a/apple_remote/inc/RemoteControl.h
+++ b/apple_remote/inc/RemoteControl.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>
// notifaction names that are being used to signal that an application wants to