Patched to compile.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 05 Dec 2011 13:17:57 -0500
changeset 6104 e49364c8a253
parent 6103 cf49f013f184
child 6105 3b06b03d74f4
Patched to compile.
src/video/cocoa/SDL_cocoamodes.m
--- a/src/video/cocoa/SDL_cocoamodes.m	Mon Dec 05 13:13:32 2011 -0500
+++ b/src/video/cocoa/SDL_cocoamodes.m	Mon Dec 05 13:17:57 2011 -0500
@@ -24,8 +24,8 @@
 
 #include "SDL_cocoavideo.h"
 
-/* Include prototypes to avoid compiler warnings on ShowMenuBar/HideMenuBar */
-#include <Menus.h>
+/* we need this for ShowMenuBar() and HideMenuBar(). */
+#include <Carbon/Carbon.h>
 
 /* !!! 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)