$NetBSD: patch-aq,v 1.2 2001/07/03 06:17:33 rh Exp $ --- src/video/x11/SDL_x11events.c.orig Tue May 1 23:12:57 2001 +++ src/video/x11/SDL_x11events.c @@ -53,6 +53,9 @@ #include "SDL_x11mouse_c.h" #include "SDL_x11events_c.h" +#if _POSIX_THREAD_SYSCALL_SOFT +#include +#endif /* Define this if you want to debug X11 events */ /*#define DEBUG_XEVENTS*/