$NetBSD: patch-an,v 1.2 2001/04/17 16:27:23 rh Exp $ --- src/audio/sun/SDL_sunaudio.c.orig Sat Feb 10 08:20:03 2001 +++ src/audio/sun/SDL_sunaudio.c @@ -52,6 +52,10 @@ #include "SDL_audio_c.h" #include "SDL_timer.h" +#if _POSIX_THREAD_SYSCALL_SOFT +#include +#endif + /* Open the audio device for playback, and don't block if busy */ #define OPEN_FLAGS (O_WRONLY|O_NONBLOCK)