--- SDL-1.2/src/video/quartz/SDL_QuartzVideo.h~ 2013-09-07 07:40:02.000000000 +0300 +++ SDL-1.2/src/video/quartz/SDL_QuartzVideo.h 2013-09-07 07:50:00.000000000 +0300 @@ -91,6 +91,9 @@ CGDirectDisplayID display; /* 0 == main display (only support single display) */ const void *mode; /* current mode of the display */ const void *save_mode; /* original mode of the display */ +#if (MAC_OS_X_VERSION_MIN_REQUIRED < 1070) + CGDirectPaletteRef palette; /* palette of an 8-bit display */ +#endif NSOpenGLContext *gl_context; /* OpenGL rendering context */ NSGraphicsContext *nsgfx_context; /* Cocoa graphics context */ Uint32 width, height, bpp; /* frequently used data about the display */