Mercurial > sdl-ios-xcode
diff src/video/Xext/Xxf86dga/XF86DGA.c @ 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 | 24c3ca822658 |
children |
line wrap: on
line diff
--- a/src/video/Xext/Xxf86dga/XF86DGA.c Wed Mar 12 22:01:48 2008 +0000 +++ b/src/video/Xext/Xxf86dga/XF86DGA.c Mon Mar 31 05:27:21 2008 +0000 @@ -59,7 +59,12 @@ #define NEED_EVENTS #define NEED_REPLIES +/* 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 "../extensions/xf86dga.h" #include "../extensions/xf86dgastr.h" #include "../extensions/Xext.h"