Patched to compile.
authorRyan C. Gordon
Mon, 05 Dec 2011 13:17:57 -0500
changeset 6104e49364c8a253
parent 6103 cf49f013f184
child 6105 3b06b03d74f4
Patched to compile.
src/video/cocoa/SDL_cocoamodes.m
     1.1 --- a/src/video/cocoa/SDL_cocoamodes.m	Mon Dec 05 13:13:32 2011 -0500
     1.2 +++ b/src/video/cocoa/SDL_cocoamodes.m	Mon Dec 05 13:17:57 2011 -0500
     1.3 @@ -24,8 +24,8 @@
     1.4  
     1.5  #include "SDL_cocoavideo.h"
     1.6  
     1.7 -/* Include prototypes to avoid compiler warnings on ShowMenuBar/HideMenuBar */
     1.8 -#include <Menus.h>
     1.9 +/* we need this for ShowMenuBar() and HideMenuBar(). */
    1.10 +#include <Carbon/Carbon.h>
    1.11  
    1.12  /* !!! FIXME: clean out the pre-10.6 code when it makes sense to do so. */
    1.13  #define FORCE_OLD_API 0 || (MAC_OS_X_VERSION_MAX_ALLOWED < 1060)