Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11dyn.h @ 4144:904defc0792e SDL-1.2
Fix X11 build issue with multiple includes of Xlibint.h ...
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Mon, 31 Mar 2008 05:27:21 +0000 |
parents | b966761fef6c |
children | a1b03ba2fcd0 |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11dyn.h Wed Mar 12 22:01:48 2008 +0000 +++ b/src/video/x11/SDL_x11dyn.h Mon Mar 31 05:27:21 2008 +0000 @@ -27,7 +27,13 @@ #include <X11/Xlib.h> #include <X11/Xutil.h> #include <X11/Xatom.h> + +/* Apparently some X11 systems can't include this multiple times... */ +#ifndef SDL_INCLUDED_XLIBINT_H +#define SDL_INCLUDED_XLIBINT_H 1 #include <X11/Xlibint.h> +#endif + #include <X11/Xproto.h> #include "../Xext/extensions/Xext.h"