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.

--HG--
branch : SDL-1.2
This commit is contained in:
Sam Lantinga 2007-07-10 04:47:08 +00:00
parent 39ab3938f6
commit 3bfb01cbff
2 changed files with 4 additions and 0 deletions

View File

@ -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"

View File

@ -26,6 +26,8 @@
#include <stdio.h>
#define NEED_EVENTS
#define NEED_REPLIES
#include <X11/Xlib.h>
#include "../Xext/extensions/xf86dga.h"