diff src/video/Xext/XME/xme.c @ 3633:81dde1b00bf1

Merged r3576:3577 from branches/SDL-1.2: X11 Xlibint.h include fixes.
author Ryan C. Gordon <icculus@icculus.org>
date Sun, 10 Jan 2010 18:19:35 +0000
parents dea73e1d07b0
children
line wrap: on
line diff
--- a/src/video/Xext/XME/xme.c	Sun Jan 10 09:16:46 2010 +0000
+++ b/src/video/Xext/XME/xme.c	Sun Jan 10 18:19:35 2010 +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>