]> Git Repo - qemu.git/commitdiff
build: pthread_atfork() needs include of pthread.h
authorAnthony Liguori <[email protected]>
Fri, 2 Nov 2012 21:12:53 +0000 (16:12 -0500)
committerAnthony Liguori <[email protected]>
Sun, 4 Nov 2012 21:13:47 +0000 (15:13 -0600)
Cc: Paolo Bonzini <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
qemu-timer.c

index 7b2217aab003756c79d66c3f2d2be56d8b677161..8d9cf38bb2655269ffe7204698f5dc3dd2144a91 100644 (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>
This page took 0.02707 seconds and 4 git commands to generate.