aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/sdlaudio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/sdlaudio.c b/audio/sdlaudio.c
index b6cfad18f5..aa226f05a0 100644
--- a/audio/sdlaudio.c
+++ b/audio/sdlaudio.c
@@ -29,6 +29,8 @@
#ifndef _WIN32
#ifdef __sun__
#define _POSIX_PTHREAD_SEMANTICS 1
+#elif defined(__OpenBSD__)
+#include <pthread.h>
#endif
#include <signal.h>
#endif