From patchwork Fri Mar 3 09:41:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Liu X-Patchwork-Id: 9602421 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 2AE5F6016C for ; Fri, 3 Mar 2017 09:43:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1D3DA285D3 for ; Fri, 3 Mar 2017 09:43:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 124DE285E8; Fri, 3 Mar 2017 09:43:31 +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 C0BDC285D3 for ; Fri, 3 Mar 2017 09:43:30 +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 1cjji9-0002IA-0v; Fri, 03 Mar 2017 09:41:17 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cjji8-0002Hq-9t for xen-devel@lists.xenproject.org; Fri, 03 Mar 2017 09:41:16 +0000 Received: from [85.158.139.211] by server-5.bemta-5.messagelabs.com id AD/C5-29481-B3A39B85; Fri, 03 Mar 2017 09:41:15 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIIsWRWlGSWpSXmKPExsXitHRDpK611c4 Ig3On+Cy+b5nM5MDocfjDFZYAxijWzLyk/IoE1ozlU58yFVxgrbj4aD9zA+MLli5GTg4JAX+J zqV/2EBsNgFliZ+dvWC2iICeRNOB54xdjFwczAJrGCX2r2hlBkkIC9hKrDv4hBXEZhFQkfh5f wOQzcHBK2Ah8fctO8RMeYldbRfBSjgFLCUWn/kDFhcCKln4bRqUrSDRMf0YE4jNKyAocXLmE7 B7mAUkJA6+eME8gZF3FpLULCSpBYxMqxg1ilOLylKLdA3N9JKKMtMzSnITM3N0DQ1M9XJTi4s T01NzEpOK9ZLzczcxAoOHAQh2MJ4/7XmIUZKDSUmU98eHHRFCfEn5KZUZicUZ8UWlOanFhxhl ODiUJHglfgLlBItS01Mr0jJzgGEMk5bg4FES4V3yAyjNW1yQmFucmQ6ROsWoy3Hj+IE3TEIse fl5qVLivGIgMwRAijJK8+BGwGLqEqOslDAvI9BRQjwFqUW5mSWo8q8YxTkYlYR5n4Gs4snMK4 Hb9AroCCagI16obAU5oiQRISXVwNi+e+/S5eqNe/dK/lntLFHAfWNiyp7Lbt6cCoG3AxkLLy9 PcN56ve0mm0qgkHXUrqbV/3c+Oy/4sMnpuHxzx6IXa3K8dy0WkVqTrNLX+f3upeji1o8XgiNd bfwfnH8TPHXdwS4h1iC+/abO21L+Sp/ck9ejy+bKFfY6WH/+y7zof8aOhUv/sSuxFGckGmoxF xUnAgC2ewWEpAIAAA== X-Env-Sender: prvs=2288606a2=wei.liu2@citrix.com X-Msg-Ref: server-13.tower-206.messagelabs.com!1488534073!72088215!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.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 46770 invoked from network); 3 Mar 2017 09:41:14 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-13.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 3 Mar 2017 09:41:14 -0000 X-IronPort-AV: E=Sophos;i="5.35,236,1484006400"; d="scan'208";a="411170540" From: Wei Liu To: Xen-devel Date: Fri, 3 Mar 2017 09:41:08 +0000 Message-ID: <20170303094111.12217-3-wei.liu2@citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170303094111.12217-1-wei.liu2@citrix.com> References: <20170303094111.12217-1-wei.liu2@citrix.com> MIME-Version: 1.0 Cc: Andrew Cooper , Wei Liu , Jan Beulich , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= Subject: [Xen-devel] [PATCH RFC 2/5] xen: include xen/types.h in domain.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 The public header expects a few types to be present. This works in the code base only because types.h is included by some other headers which happen to be placed before the inclusion of domain.h. Include types.h before xen.h in domain.h to fix it properly. Signed-off-by: Wei Liu Acked-by: Jan Beulich --- xen/include/xen/domain.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/include/xen/domain.h b/xen/include/xen/domain.h index bce0ea1ea9..347f264047 100644 --- a/xen/include/xen/domain.h +++ b/xen/include/xen/domain.h @@ -2,6 +2,8 @@ #ifndef __XEN_DOMAIN_H__ #define __XEN_DOMAIN_H__ +#include + #include #include #include