diff options
-rw-r--r-- | hw/xquartz/pbproxy/pbproxy.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/hw/xquartz/pbproxy/pbproxy.h b/hw/xquartz/pbproxy/pbproxy.h index c8321b373..eb1f3bae5 100644 --- a/hw/xquartz/pbproxy/pbproxy.h +++ b/hw/xquartz/pbproxy/pbproxy.h @@ -32,6 +32,17 @@ #import <Foundation/Foundation.h> +#include <AvailabilityMacros.h> +#if MAC_OS_X_VERSION_MIN_REQUIRED < 1050 +#if __LP64__ || NS_BUILD_32_LIKE_64 +typedef long NSInteger; +typedef unsigned long NSUInteger; +#else +typedef int NSInteger; +typedef unsigned int NSUInteger; +#endif +#endif + #define Cursor X_Cursor #undef _SHAPE_H_ #include <X11/Xlib.h> |