Fix undefined pthread_sigmask warning on OpenBSD

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5530 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
blueswir1 2008-10-25 11:19:14 +00:00
parent 5b3715bfda
commit 9b4c14c35b

View File

@ -29,6 +29,8 @@
#ifndef _WIN32
#ifdef __sun__
#define _POSIX_PTHREAD_SEMANTICS 1
#elif defined(__OpenBSD__)
#include <pthread.h>
#endif
#include <signal.h>
#endif