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 | 9b4c14c35bff99476b0223e87532f8d53a9909c4 (patch) | |
tree | 6f2edc94bea30f44029f94588dd54992ec65b659 | |
parent | 5b3715bfdafcf35c352aa6d273cadd4eb543c449 (diff) |
Fix undefined pthread_sigmask warning on OpenBSD
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5530 c046a42c-6fe2-441c-8c8c-71466251a162
-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 |