build: pthread_atfork() needs include of pthread.h
PATCH 1/1 build: pthread_atfork() needs include of pthread.h
Cc Paolo Bonzini <[email protected]>
Signed-off-by Anthony Liguori <[email protected]>
--- qemu-timer.c | 3 +++ 1 file changed, 3 insertions(+)
qemu-timer.c +3 -0
@@ -30,6 +30,9 @@#include "hw/hw.h" #include "qemu-timer.h" +#ifdef CONFIG_POSIX +#include <pthread.h> +#endif #ifdef _WIN32#include <mmsystem.h>
Signature · 1 line
1.8.0