aboutsummaryrefslogtreecommitdiff
path: root/audio/sdlaudio.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-26 09:54:50 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-26 09:54:50 +0000
commit1b52da581dc353c450af956e493d8f95e8ec8823 (patch)
treea88a7ca7bf4d368e22bad948d22798b8ef94f3fc /audio/sdlaudio.c
parent653a07b222f76c832625cccbb1a097dde3048422 (diff)
Fix undefined pthread_sigmask warning on FreeBSD (Juergen Lock)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5537 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'audio/sdlaudio.c')
-rw-r--r--audio/sdlaudio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/sdlaudio.c b/audio/sdlaudio.c
index aa226f05a0..71d15d5a42 100644
--- a/audio/sdlaudio.c
+++ b/audio/sdlaudio.c
@@ -29,7 +29,7 @@
#ifndef _WIN32
#ifdef __sun__
#define _POSIX_PTHREAD_SEMANTICS 1
-#elif defined(__OpenBSD__)
+#elif defined(__OpenBSD__) || defined(__FreeBSD__)
#include <pthread.h>
#endif
#include <signal.h>