Should fix build on OSX 10.8.

This commit is contained in:
Themaister 2012-09-21 21:11:10 +02:00
parent d9fce26801
commit 52cde797c1
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@
bool gfx_window_title(char *buf, size_t size);
void gfx_window_title_reset(void);
#ifdef HAVE_X11
#if defined(HAVE_X11) && !defined(__APPLE__)
#include <X11/Xlib.h>
void gfx_suspend_screensaver(Window wnd);
#endif

View File

@ -289,7 +289,7 @@ static void *sdl_gfx_init(const video_info_t *video, const input_driver_t **inpu
SDL_ShowCursor(SDL_DISABLE);
#ifdef HAVE_X11
#if defined(HAVE_X11) && !defined(__APPLE__)
RARCH_LOG("Suspending screensaver (X11).\n");
SDL_SysWMinfo wm_info;
SDL_VERSION(&wm_info.version);