qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] build: pthread_atfork() needs include of pthread.h


From: Anthony Liguori
Subject: [Qemu-devel] [PATCH] build: pthread_atfork() needs include of pthread.h
Date: Fri, 2 Nov 2012 16:13:45 -0500

Cc: Paolo Bonzini <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
---
 qemu-timer.c | 3 +++
 1 file changed, 3 insertions(+)

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>
-- 
1.8.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]