Fix undefined pthread_sigmask warning on FreeBSD (Juergen Lock)
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 26 Oct 2008 09:54:50 +0000 (09:54 +0000)
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 26 Oct 2008 09:54:50 +0000 (09:54 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5537 c046a42c-6fe2-441c-8c8c-71466251a162

audio/sdlaudio.c

index aa226f05a0b9ca9934f0f0c34a933890ed0542b7..71d15d5a42028142c040bf819ff388957d0c7409 100644 (file)
@@ -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>