Mercurial > sdl-ios-xcode
comparison src/video/Xext/Xxf86vm/XF86VMode.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 | ecba4bbaf9c2 |
children | cab9823cb55e |
comparison
equal
deleted
inserted
replaced
4143:73e7e7f5b5a1 | 4144:904defc0792e |
---|---|
35 | 35 |
36 #define NEED_EVENTS | 36 #define NEED_EVENTS |
37 #define NEED_REPLIES | 37 #define NEED_REPLIES |
38 | 38 |
39 #ifndef XBUILD_IN_CLIENT | 39 #ifndef XBUILD_IN_CLIENT |
40 /* Apparently some X11 systems can't include this multiple times... */ | |
41 #ifndef SDL_INCLUDED_XLIBINT_H | |
42 #define SDL_INCLUDED_XLIBINT_H 1 | |
40 #include <X11/Xlibint.h> | 43 #include <X11/Xlibint.h> |
44 #endif | |
41 #include "../extensions/xf86vmstr.h" | 45 #include "../extensions/xf86vmstr.h" |
42 #include "../extensions/Xext.h" | 46 #include "../extensions/Xext.h" |
43 #include "../extensions/extutil.h" | 47 #include "../extensions/extutil.h" |
44 #else | 48 #else |
45 #include "lib/X11/Xlibint.h" | |
46 #include "include/extensions/xf86vmstr.h" | 49 #include "include/extensions/xf86vmstr.h" |
47 #include "include/extensions/Xext.h" | 50 #include "include/extensions/Xext.h" |
48 #include "include/extensions/extutil.h" | 51 #include "include/extensions/extutil.h" |
49 #endif | 52 #endif |
50 | 53 |