Skip to content

Commit

Permalink
Merged some patches from NetBSD pkgsrc:
Browse files Browse the repository at this point in the history
Added two patches for Solaris 8. The X11 implementation does not
define the xEvent structure unless NEED_EVENTS is defined.
  • Loading branch information
slouken committed Jul 10, 2007
1 parent 853248d commit 59c3e97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/video/dga/SDL_dgaevents.c
Expand Up @@ -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"

Expand Down
2 changes: 2 additions & 0 deletions src/video/dga/SDL_dgavideo.c
Expand Up @@ -26,6 +26,8 @@

#include <stdio.h>

#define NEED_EVENTS
#define NEED_REPLIES
#include <X11/Xlib.h>
#include "../Xext/extensions/xf86dga.h"

Expand Down

0 comments on commit 59c3e97

Please sign in to comment.