changeset 4029:e7ec5ee35d54 SDL-1.2

Merged some patches from NetBSD pkgsrc: Added two patches for Solaris 8. The X11 implementation does not define the xEvent structure unless NEED_EVENTS is defined.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 10 Jul 2007 04:47:08 +0000
parents 81837116ef59
children e6c20cda4e28
files src/video/dga/SDL_dgaevents.c src/video/dga/SDL_dgavideo.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/dga/SDL_dgaevents.c	Tue Jul 10 04:41:50 2007 +0000
+++ b/src/video/dga/SDL_dgaevents.c	Tue Jul 10 04:47:08 2007 +0000
@@ -24,6 +24,8 @@
 /* Handle the event stream, converting DGA events into SDL events */
 
 #include <stdio.h>
+#define NEED_EVENTS
+#define NEED_REPLIES
 #include <X11/Xlib.h>
 #include "../Xext/extensions/xf86dga.h"
 
--- a/src/video/dga/SDL_dgavideo.c	Tue Jul 10 04:41:50 2007 +0000
+++ b/src/video/dga/SDL_dgavideo.c	Tue Jul 10 04:47:08 2007 +0000
@@ -26,6 +26,8 @@
 
 #include <stdio.h>
 
+#define NEED_EVENTS
+#define NEED_REPLIES
 #include <X11/Xlib.h>
 #include "../Xext/extensions/xf86dga.h"