qemu-trivial
[Top][All Lists]
Advanced

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

[Qemu-trivial] [PATCH] Fix compilation for non-POSIX system (w64)


From: Stefan Weil
Subject: [Qemu-trivial] [PATCH] Fix compilation for non-POSIX system (w64)
Date: Thu, 23 Jun 2011 21:19:53 +0200

compatfd.h is only needed with CONFIG_POSIX.
Compilation fails in compatfd.h for at least one non-POSIX systems (w64).

Signed-off-by: Stefan Weil <address@hidden>
---
 cpus.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/cpus.c b/cpus.c
index 0699f37..8501254 100644
--- a/cpus.c
+++ b/cpus.c
@@ -34,7 +34,9 @@
 
 #include "qemu-thread.h"
 #include "cpus.h"
+#ifdef CONFIG_POSIX
 #include "compatfd.h"
+#endif
 
 #ifdef SIGRTMIN
 #define SIG_IPI (SIGRTMIN+4)
-- 
1.7.2.5




reply via email to

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