From 660285f954c32f86594b6a1749262123d99a3b94 Mon Sep 17 00:00:00 2001 From: Julien Grall Date: Mon, 14 Aug 2017 17:17:44 +0200 Subject: [PATCH] grant_table: include mm.h in xen/grant_table.h MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit While re-ordering the include alphabetically in arch/arm/domain.c, I got a complitation error because grant_table.h is using gfn_t before been defined: In file included from domain.c:14:0: xen/xen/include/xen/grant_table.h:153:29: error: unknown type name ‘gfn_t’ gfn_t *gfn, uint16_t *status); ^ Fix it by including xen/mm.h in it. Signed-off-by: Julien Grall Acked-by: Jan Beulich Acked-by: Wei Liu --- xen/include/xen/grant_table.h | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/include/xen/grant_table.h b/xen/include/xen/grant_table.h index 4e7789968c..7913facf9f 100644 --- a/xen/include/xen/grant_table.h +++ b/xen/include/xen/grant_table.h @@ -23,6 +23,7 @@ #ifndef __XEN_GRANT_TABLE_H__ #define __XEN_GRANT_TABLE_H__ +#include #include #include #include -- 2.30.2