summaryrefslogtreecommitdiff
path: root/audio/sdlaudio.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-25 11:19:14 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-25 11:19:14 +0000
commit9b4c14c35bff99476b0223e87532f8d53a9909c4 (patch)
tree6f2edc94bea30f44029f94588dd54992ec65b659 /audio/sdlaudio.c
parent5b3715bfdafcf35c352aa6d273cadd4eb543c449 (diff)
Fix undefined pthread_sigmask warning on OpenBSD
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5530 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'audio/sdlaudio.c')
-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