build: pthread_atfork() needs include of pthread.h

Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Anthony Liguori 2012-11-02 16:12:53 -05:00
parent ed224a56b3
commit 30ea833941

View File

@ -30,6 +30,9 @@
#include "hw/hw.h"
#include "qemu-timer.h"
#ifdef CONFIG_POSIX
#include <pthread.h>
#endif
#ifdef _WIN32
#include <mmsystem.h>