Merged some patches from NetBSD pkgsrc: SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Tue, 10 Jul 2007 04:47:08 +0000
branchSDL-1.2
changeset 4029 e7ec5ee35d54
parent 4028 81837116ef59
child 4030 e6c20cda4e28
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.
src/video/dga/SDL_dgaevents.c
src/video/dga/SDL_dgavideo.c
--- 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"