Received: from eggs.gnu.org ([140.186.70.92]:54246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZpRY-00015w-5f for qemu-devel@nongnu.org; Thu, 23 Jun 2011 15:20:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZpRW-0001iI-02 for qemu-devel@nongnu.org; Thu, 23 Jun 2011 15:19:59 -0400 From: Stefan Weil Date: Thu, 23 Jun 2011 21:19:53 +0200 Message-Id: <1308856793-29724-1-git-send-email-weil@mail.berlios.de> Subject: [Qemu-devel] [PATCH] Fix compilation for non-POSIX system (w64) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers Cc: qemu-trivial@nongnu.org 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 --- 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