From 439625d6d6daf02277f8cf81be87f19732aea0a1 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 5 Dec 2011 13:17:57 -0500 Subject: [PATCH] Patched to compile. --- src/video/cocoa/SDL_cocoamodes.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video/cocoa/SDL_cocoamodes.m b/src/video/cocoa/SDL_cocoamodes.m index 387d2af71..98c6e332d 100644 --- a/src/video/cocoa/SDL_cocoamodes.m +++ b/src/video/cocoa/SDL_cocoamodes.m @@ -24,8 +24,8 @@ #include "SDL_cocoavideo.h" -/* Include prototypes to avoid compiler warnings on ShowMenuBar/HideMenuBar */ -#include +/* we need this for ShowMenuBar() and HideMenuBar(). */ +#include /* !!! FIXME: clean out the pre-10.6 code when it makes sense to do so. */ #define FORCE_OLD_API 0 || (MAC_OS_X_VERSION_MAX_ALLOWED < 1060)