diff --git a/hw/xquartz/X11Controller.h b/hw/xquartz/X11Controller.h index bb284472a..9e16f75ce 100644 --- a/hw/xquartz/X11Controller.h +++ b/hw/xquartz/X11Controller.h @@ -55,7 +55,11 @@ typedef unsigned int NSUInteger; #endif #endif +#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060 @interface X11Controller : NSObject +#else +@interface X11Controller : NSObject +#endif { IBOutlet NSPanel *prefs_panel; diff --git a/hw/xquartz/quartzKeyboard.c b/hw/xquartz/quartzKeyboard.c index 90f66101f..c5047624e 100644 --- a/hw/xquartz/quartzKeyboard.c +++ b/hw/xquartz/quartzKeyboard.c @@ -40,6 +40,7 @@ #define HACK_MISSING 1 #define HACK_KEYPAD 1 +#include #include #include #include