diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-25 11:19:14 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-25 11:19:14 +0000 |
commit | d643ed1addc008f33bb9a60d89b4dc3333f846b2 (patch) | |
tree | 6f2edc94bea30f44029f94588dd54992ec65b659 /audio/sdlaudio.c | |
parent | 6b731e9939f88c32fa87af4bfc72e131a36dd78f (diff) | |
download | qemu-d643ed1addc008f33bb9a60d89b4dc3333f846b2.tar.gz qemu-d643ed1addc008f33bb9a60d89b4dc3333f846b2.tar.bz2 qemu-d643ed1addc008f33bb9a60d89b4dc3333f846b2.zip |
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.c | 2 |
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 |