$NetBSD: patch-aq,v 1.1 2000/10/22 16:55:21 rh Exp $

--- src/video/x11/SDL_x11events.c.orig	Sun Oct 22 17:42:30 2000
+++ src/video/x11/SDL_x11events.c
@@ -51,6 +51,10 @@
 #include "SDL_x11mouse_c.h"
 #include "SDL_x11events_c.h"
 
+#if _POSIX_THREAD_SYSCALL_SOFT
+#include <pthread.h>
+#endif
+
 
 /* The translation tables from an X11 keysym to a SDL keysym */
 static SDLKey ODD_keymap[256];
