$OpenBSD: patch-src_video_x11_SDL_x11events_c,v 1.1.1.1 2001/04/19 18:55:40 obecian Exp $
--- src/video/x11/SDL_x11events.c.orig	Sun Mar 18 11:31:35 2001
+++ src/video/x11/SDL_x11events.c	Fri Mar 30 08:44:02 2001
@@ -53,6 +53,10 @@ static char rcsid =
 #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];
