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:
parent
5b3715bfda
commit
9b4c14c35b
@ -29,6 +29,8 @@
|
|||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
#ifdef __sun__
|
#ifdef __sun__
|
||||||
#define _POSIX_PTHREAD_SEMANTICS 1
|
#define _POSIX_PTHREAD_SEMANTICS 1
|
||||||
|
#elif defined(__OpenBSD__)
|
||||||
|
#include <pthread.h>
|
||||||
#endif
|
#endif
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user