From patchwork Tue Feb 9 14:16:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 8262271 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 847BCBEEE5 for ; Tue, 9 Feb 2016 14:17:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DF4402025A for ; Tue, 9 Feb 2016 14:17:18 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4A87D2014A for ; Tue, 9 Feb 2016 14:17:18 +0000 (UTC) Received: from localhost ([::1]:56475 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT96T-0003j6-Bp for patchwork-qemu-devel@patchwork.kernel.org; Tue, 09 Feb 2016 09:17:17 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT96H-0003iX-Tu for qemu-devel@nongnu.org; Tue, 09 Feb 2016 09:17:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aT96C-0001uq-T5 for qemu-devel@nongnu.org; Tue, 09 Feb 2016 09:17:05 -0500 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:34953) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT96C-0001uB-M7; Tue, 09 Feb 2016 09:17:00 -0500 Received: by mail-wm0-x22f.google.com with SMTP id c200so62217732wme.0; Tue, 09 Feb 2016 06:17:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=R+GBcpU7pMw74LI+BhyTUaomPu7l0hUz4EgmPRyZwt4=; b=Ia8GDx4ri3jycmKY/OhuOUCP+wuqShZF0PfjgeKDwGQv019wWgU58ndaWRi1XZuNyE 92UMJ5hVehsat8zgatP2AdpBwcA0D/TdgjJbXqBSx76KCtrlDhJvFCiDUHaxzDESIhi9 YzNMqBOIrwTT8n+H+sSjgPyNF/j8XL8YRq7fXQs+Cb09uSFW0c/jfWsP3/mgycFskich C4kYJgKXOIKzmV7Wf98gFQOqxOU0+il8RCE33U5xImd7e9zBfBO7RUdDjOD8FAiJjfko RPMAowkQt8Sy/dRp356VRCLH/Sp4/diHCLDAvaE0HP/aAkX6QUCscrwSsy6hyad+olOm /d+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=R+GBcpU7pMw74LI+BhyTUaomPu7l0hUz4EgmPRyZwt4=; b=DodXYGTRmCK+Sb2ImT1dPJLCfZviijA35TD/PyzFPakFvDVuzmzE8UQQdEE+iM2Aq4 71T3MSYDt9JLf53shuFqH3NG2wZFe4nD29jh45s8f5c0Tq9UQcgyRvRNEheuI6hL/22A IKxNu1/nEI8H8DGJU/eTXD+lmOvWkIVJ3i8SeGB6WjtwIuinExmi2UiFPVUKaSGtVgs+ 47Sk8Ahl7MHgj6aP3wHibPcWIfo7GceyrVnIUzoZcxkWeast7TZWF3d6MlIF4JuX8ws9 OGoOKh/G1vI92aHnAXAnJebiWgxuOfwKvVQT9sXY8+qeBKDg28afL8D45SCHuWlKrRyk QYNA== X-Gm-Message-State: AG10YOSgw08QSt3HMjEH9L2FFvPMbWdEa9hLLHqvfsrT7/2hRbSdBj3kGzMSePDUA105mg== X-Received: by 10.28.50.137 with SMTP id y131mr5474293wmy.102.1455027420117; Tue, 09 Feb 2016 06:17:00 -0800 (PST) Received: from donizetti.lan (94-39-141-130.adsl-ull.clienti.tiscali.it. [94.39.141.130]) by smtp.gmail.com with ESMTPSA id g1sm23122786wmc.0.2016.02.09.06.16.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Feb 2016 06:16:58 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Tue, 9 Feb 2016 15:16:57 +0100 Message-Id: <1455027417-32278-1-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 2.5.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22f Cc: qemu-trivial@nongnu.org Subject: [Qemu-devel] [PATCH] w32: include winsock2.h before windows.h 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Recent Fedora complains while compiling ui/sdl.c: /usr/x86_64-w64-mingw32/sys-root/mingw/include/winsock2.h:15:2: warning: #warning Please include winsock2.h before windows.h [-Wcpp] And with this patch we dutifully obey. Signed-off-by: Paolo Bonzini Reviewed-by: Stefan Weil --- include/sysemu/os-win32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sysemu/os-win32.h b/include/sysemu/os-win32.h index 400e098..fbed346 100644 --- a/include/sysemu/os-win32.h +++ b/include/sysemu/os-win32.h @@ -26,8 +26,8 @@ #ifndef QEMU_OS_WIN32_H #define QEMU_OS_WIN32_H -#include #include +#include /* Workaround for older versions of MinGW. */ #ifndef ECONNREFUSED