From patchwork Wed Oct 4 13:51:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Liu X-Patchwork-Id: 9984755 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 32E4560237 for ; Wed, 4 Oct 2017 13:53:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 27CFA28A7E for ; Wed, 4 Oct 2017 13:53:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1C1F928AD7; Wed, 4 Oct 2017 13:53:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A60DE28A7E for ; Wed, 4 Oct 2017 13:53:43 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzk5E-0005ik-98; Wed, 04 Oct 2017 13:51:32 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzk5D-0005iH-LE; Wed, 04 Oct 2017 13:51:31 +0000 Received: from [85.158.143.35] by server-11.bemta-6.messagelabs.com id A9/AD-03616-267E4D95; Wed, 04 Oct 2017 13:51:30 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrNLMWRWlGSWpSXmKPExsXitHRDpG7S8yu RBjPa5Szefl3CbPF9y2QmByaPwx+usAQwRrFm5iXlVySwZpz4WVuwl6ti7gX5BsYXHF2MnBwS Av4Sx6ZcYQKx2QSUJX529rKB2CICJhK/L5xmAbGZBc4ySjxYqgtiCwvYSKzY9Ye1i5GDg0VAR aL1uDdImFfAXKJz/QR2iJHyErvaLrKC2EICChId048xQdQISpyc+QRqpITEwRcvmCcwcs9Ckp qFJLWAkWkVo0ZxalFZapGukZFeUlFmekZJbmJmjq6hgZlebmpxcWJ6ak5iUrFecn7uJkZgQDA AwQ7GNfMDDzFKcjApifJWP7oSKcSXlJ9SmZFYnBFfVJqTWnyIUYaDQ0mC1/kZUE6wKDU9tSIt MwcYmjBpCQ4eJRHeW0+B0rzFBYm5xZnpEKlTjLocHTfv/mESYsnLz0uVEufNApkhAFKUUZoHN wIWJ5cYZaWEeRmBjhLiKUgtys0sQZV/xSjOwagkzJsMMoUnM68EbtMroCOYgI6Y0wR2REkiQk qqgVGl7JrtrH2KVhwZWUcLZ6XfuPty344Lbbq3Zddd7jl2oC5Du/OBXXFnwxbrK7dqDuxOdhB +t/iWiWr1BHFP47bzl2SLVfVKP3BbKp8K/ih2e5Onwvfz1d/LZKevSWkMKDi+e9fKu99TujMW TGq/Ni8puVvRkPuk3hrBxmWnMy+bXIlRurx5ymMlluKMREMt5qLiRAAA9ymZjgIAAA== X-Env-Sender: prvs=443a8edce=wei.liu2@citrix.com X-Msg-Ref: server-4.tower-21.messagelabs.com!1507125088!70136226!1 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 9.4.45; banners=-,-,- X-VirusChecked: Checked Received: (qmail 37481 invoked from network); 4 Oct 2017 13:51:30 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-4.tower-21.messagelabs.com with RC4-SHA encrypted SMTP; 4 Oct 2017 13:51:30 -0000 X-IronPort-AV: E=Sophos;i="5.42,477,1500940800"; d="scan'208";a="442481884" From: Wei Liu To: Minios-devel Date: Wed, 4 Oct 2017 14:51:26 +0100 Message-ID: <20171004135126.9131-1-wei.liu2@citrix.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Cc: Xen-devel , Julien Grall , Wei Liu , Ian Jackson , Samuel Thibault Subject: [Xen-devel] [MINIOS PATCH v2] Include string.h before console.h X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP Starting from Xen commit af8d93564, it is required to include string.h before console.h. Signed-off-by: Wei Liu Reviewed-by: Samuel Thibault --- Cc: Ian Jackson Cc: Julien Grall Cc: Samuel Thibault After applying this patch to mini-os I will update Xen's Config.mk to fix the build failure in xen.git. There are quite a few places in the not yet functioning arm port. I opt to skip them so that we can unblock staging asap. --- lib/sys.c | 1 + lwip-arch.c | 1 + main.c | 1 + 3 files changed, 3 insertions(+) diff --git a/lib/sys.c b/lib/sys.c index b173bc8..23dc2a5 100644 --- a/lib/sys.c +++ b/lib/sys.c @@ -20,6 +20,7 @@ #ifdef HAVE_LIBC #include +#include #include #include #include diff --git a/lwip-arch.c b/lwip-arch.c index 154617b..21e941e 100644 --- a/lwip-arch.c +++ b/lwip-arch.c @@ -8,6 +8,7 @@ #include #include +#include #include #include #include diff --git a/main.c b/main.c index 263364c..4e42f53 100644 --- a/main.c +++ b/main.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include