diff src/video/Xext/XME/xme.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 a10bddfdc40f
children
line wrap: on
line diff
--- a/src/video/Xext/XME/xme.c	Wed Mar 12 22:01:48 2008 +0000
+++ b/src/video/Xext/XME/xme.c	Mon Mar 31 05:27:21 2008 +0000
@@ -14,7 +14,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 <X11/Xthreads.h>
 #include <X11/Xmd.h>
 #include <X11/Xproto.h>