From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Thibault Subject: [PATCH] Fix stubdom undeclared function build warnings Date: Mon, 29 Jul 2013 11:18:10 +0200 Message-ID: <20130729091810.GA9664@type> References: <20130722003643.58e57c2e@archtester.homenetwork> <20130726135508.GQ5872@type.bordeaux.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20130726135508.GQ5872@type.bordeaux.inria.fr> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: IAN DELANEY , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org This includes a few headers to fix some missing function declarations. Signed-off-by: Samuel Thibault diff --git a/stubdom/grub/config.h b/stubdom/grub/config.h index 1649d51..15a6583 100644 --- a/stubdom/grub/config.h +++ b/stubdom/grub/config.h @@ -2,6 +2,7 @@ #undef putchar #include #include +#include #define debug _debug #define grub_halt(a) do_exit() #define printf grub_printf diff --git a/xen/include/xen/libelf.h b/xen/include/xen/libelf.h index 2a6fa54..e65db6d 100644 --- a/xen/include/xen/libelf.h +++ b/xen/include/xen/libelf.h @@ -39,11 +39,13 @@ typedef int elf_negerrnoval; /* 0: ok; -EFOO: error */ #ifdef __XEN__ #include #include +#include #else #include #include #include +#include struct elf_binary; typedef void elf_log_callback(struct elf_binary*, void *caller_data,