# HG changeset patch # User Sam Lantinga # Date 1184042828 0 # Node ID e7ec5ee35d5475d654eabad65e2ffc41dd51d63b # Parent 81837116ef590bc64526b0747f7d5e4534b34076 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. diff -r 81837116ef59 -r e7ec5ee35d54 src/video/dga/SDL_dgaevents.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 +#define NEED_EVENTS +#define NEED_REPLIES #include #include "../Xext/extensions/xf86dga.h" diff -r 81837116ef59 -r e7ec5ee35d54 src/video/dga/SDL_dgavideo.c --- 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 +#define NEED_EVENTS +#define NEED_REPLIES #include #include "../Xext/extensions/xf86dga.h"