diff --git a/src/posix/cocoa/i_common.h b/src/posix/cocoa/i_common.h index 3f26e7940e..081466e87d 100644 --- a/src/posix/cocoa/i_common.h +++ b/src/posix/cocoa/i_common.h @@ -128,17 +128,6 @@ enum kVK_UpArrow = 0x7E }; -@interface NSView(SupportOutdatedOSX) -- (NSPoint)convertPointFromBase:(NSPoint)aPoint; -@end - -@implementation NSView(SupportOutdatedOSX) -- (NSPoint)convertPointFromBase:(NSPoint)aPoint -{ - return [self convertPoint:aPoint fromView:nil]; -} -@end - #endif // prior to 10.5 diff --git a/src/posix/cocoa/i_main.mm b/src/posix/cocoa/i_main.mm index bb13091095..05a8081f6c 100644 --- a/src/posix/cocoa/i_main.mm +++ b/src/posix/cocoa/i_main.mm @@ -34,6 +34,7 @@ #include "i_common.h" #include +#include // Avoid collision between DObject class and Objective-C #define Class ObjectClass