From patchwork Tue Oct 25 20:23:17 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Weil X-Patchwork-Id: 121785 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 14F3F1007DB for ; Wed, 26 Oct 2011 07:24:32 +1100 (EST) Received: from localhost ([::1]:52714 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RInXq-0007yr-Bg for incoming@patchwork.ozlabs.org; Tue, 25 Oct 2011 16:24:22 -0400 Received: from eggs.gnu.org ([140.186.70.92]:38208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RInXk-0007yb-Kp for qemu-devel@nongnu.org; Tue, 25 Oct 2011 16:24:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RInXj-0005vm-JO for qemu-devel@nongnu.org; Tue, 25 Oct 2011 16:24:16 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:43484) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RInXj-0005kY-Et for qemu-devel@nongnu.org; Tue, 25 Oct 2011 16:24:15 -0400 Received: from localhost (v220110690675601.yourvserver.net.local [127.0.0.1]) by v220110690675601.yourvserver.net (Postfix) with ESMTP id B81457283494; Tue, 25 Oct 2011 22:23:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at weilnetz.de Received: from v220110690675601.yourvserver.net ([127.0.0.1]) by localhost (v220110690675601.yourvserver.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wV8hxBFy5VWD; Tue, 25 Oct 2011 22:23:23 +0200 (CEST) Received: by v220110690675601.yourvserver.net (Postfix, from userid 1000) id 3F1347283498; Tue, 25 Oct 2011 22:23:23 +0200 (CEST) From: Stefan Weil To: qemu-devel@nongnu.org Date: Tue, 25 Oct 2011 22:23:17 +0200 Message-Id: <1319574197-31283-1-git-send-email-sw@weilnetz.de> X-Mailer: git-send-email 1.7.2.5 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 78.47.199.172 Cc: Paolo Bonzini , Anthony Liguori , Stefan Weil Subject: [Qemu-devel] [PATCH v2] main-loop: Add missing include file X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org stdint.h defines the POSIX data types and is needed for MinGW-w64 (and maybe other hosts). v2: Instead of adding stdint.h directly, qemu-common.h is now included and duplicate include statements were removed. Signed-off-by: Stefan Weil --- main-loop.c | 30 +++++------------------------- 1 files changed, 5 insertions(+), 25 deletions(-) diff --git a/main-loop.c b/main-loop.c index bfecdb7..60e9748 100644 --- a/main-loop.c +++ b/main-loop.c @@ -21,36 +21,16 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "config-host.h" -#include -#include -#include -#include -#include -#include -#ifdef _WIN32 -#include -#include -#include -#else -#include -#include -#include -#include -#include -#include -#include "compatfd.h" -#endif - -#include - -#include "main-loop.h" +#include "qemu-common.h" #include "qemu-timer.h" -#include "slirp/libslirp.h" +#include "slirp/slirp.h" +#include "main-loop.h" #ifndef _WIN32 +#include "compatfd.h" + static int io_thread_fd = -1; void qemu_notify_event(void)