Skip to contentSkip to conversation

build: pthread_atfork() needs include of pthread.h

PATCH New Anthony Liguori 1 participant 1 message Nov 2, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 build: pthread_atfork() needs include of pthread.h

---
 qemu-timer.c | 3 +++
 1 file changed, 3 insertions(+)
qemu-timer.c +3 -0
index 7b2217a..8d9cf38 100644
@@ -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