From patchwork Wed Oct 4 13:33:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Liu X-Patchwork-Id: 9984741 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 F0A1860365 for ; Wed, 4 Oct 2017 13:36:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E210828961 for ; Wed, 4 Oct 2017 13:36:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D51FC28A8B; Wed, 4 Oct 2017 13:36:04 +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 170E228961 for ; Wed, 4 Oct 2017 13:36:03 +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 1dzjo3-0002f8-7r; Wed, 04 Oct 2017 13:33:47 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzjo2-0002ek-5F; Wed, 04 Oct 2017 13:33:46 +0000 Received: from [193.109.254.147] by server-6.bemta-6.messagelabs.com id 79/4D-03435-933E4D95; Wed, 04 Oct 2017 13:33:45 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrHLMWRWlGSWpSXmKPExsXitHRDpK7p4yu RBu+PsFq8/bqE2eL7lslMDkwehz9cYQlgjGLNzEvKr0hgzbg0aSFrwVv2intHtjI2MF5i62Lk 5JAQ8Jf4eqSZEcRmE1CW+NnZCxYXETCR+H3hNAuIzSxwllHiwVJdEFtYwFLiwf5tYPUsAioSx 87cAKvnFbCQ2Lh1MwvETHmJXW0XWUFsIQEFiY7px5ggagQlTs58AjVTQuLgixfMExi5ZyFJzU KSWsDItIpRozi1qCy1SNfIQC+pKDM9oyQ3MTNH19DATC83tbg4MT01JzGpWC85P3cTIzAsGIB gB+OvZQGHGCU5mJREeasfXYkU4kvKT6nMSCzOiC8qzUktPsQow8GhJME7HSQnWJSanlqRlpkD DFCYtAQHj5IIbwxImre4IDG3ODMdInWKUZej4+bdP0xCLHn5ealS4rzyIEUCIEUZpXlwI2DRc olRVkqYlxHoKCGegtSi3MwSVPlXjOIcjErCvPkgU3gy80rgNr0COoIJ6Ig5TWBHlCQipKQaGE P6bRbXy823cVr58Om0ZMmUf8m/PI0EdM85/TmwdcOX+O9dpxaUX0uoZLtevdj6r3Cu1mr5iBs yW/dvMXVgZHQ6uNen/GT/pufrfBsOnz97L9xeasGE743W5SZOCy/36Blks3MtrM4S53mUIplr 0Otux2jOLHuLTeXoqU+PN15ozZOYfYQxW4mlOCPRUIu5qDgRAIhlszSRAgAA X-Env-Sender: prvs=443a8edce=wei.liu2@citrix.com X-Msg-Ref: server-2.tower-27.messagelabs.com!1507124019!60350029!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 16512 invoked from network); 4 Oct 2017 13:33:40 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-2.tower-27.messagelabs.com with RC4-SHA encrypted SMTP; 4 Oct 2017 13:33:40 -0000 X-IronPort-AV: E=Sophos;i="5.42,477,1500940800"; d="scan'208";a="442479162" From: Wei Liu To: Minios-devel Date: Wed, 4 Oct 2017 14:33:36 +0100 Message-ID: <20171004133336.13357-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] 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. I will also update mini-os's copy of Xen headers later. --- lib/sys.c | 1 + main.c | 1 + 2 files changed, 2 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/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