| commit | 30ea833941a7de51454cf99913f5edb3e7e21c0d | [log] [tgz] |
|---|---|---|
| author | Anthony Liguori <aliguori@us.ibm.com> | Fri Nov 02 16:12:53 2012 -0500 |
| committer | Anthony Liguori <aliguori@us.ibm.com> | Sun Nov 04 15:13:47 2012 -0600 |
| tree | 1bacfea39ab2abdbc212e7518d034378b924ccb2 | |
| parent | ed224a56b3b3234d99832a063ee3aaee3613d115 [diff] |
build: pthread_atfork() needs include of pthread.h Cc: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
diff --git a/qemu-timer.c b/qemu-timer.c index 7b2217a..8d9cf38 100644 --- a/qemu-timer.c +++ b/qemu-timer.c
@@ -30,6 +30,9 @@ #include "hw/hw.h" #include "qemu-timer.h" +#ifdef CONFIG_POSIX +#include <pthread.h> +#endif #ifdef _WIN32 #include <mmsystem.h>