diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-07-29 11:18:10 +0200 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-08-02 15:37:26 +0100 |
commit | 10f6b65545579fcac65d783156db7a70eeca2550 (patch) | |
tree | b5ce73d1d8a03eef16c29652d10bdfaac6458d07 /xen/include/xen | |
parent | 6072b7c808043b6886c33f896e06fc32ee28346e (diff) | |
download | xen-10f6b65545579fcac65d783156db7a70eeca2550.tar.gz xen-10f6b65545579fcac65d783156db7a70eeca2550.tar.bz2 xen-10f6b65545579fcac65d783156db7a70eeca2550.zip |
stubdom: Fix stubdom undeclared function build warnings
This includes a few headers to fix some missing function declarations.
../grub-upstream/stage2/builtins.c:1728:3: warning: implicit declaration of function ‘do_exit’ [-Wimplicit-function-declaration]
stubdom/include/xen/libelf/libelf.h:453:5: warning: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration]
Reported-by: IAN DELANEY <della5@iinet.com.au>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'xen/include/xen')
-rw-r--r-- | xen/include/xen/libelf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/include/xen/libelf.h b/xen/include/xen/libelf.h index 2a6fa54b02..e65db6df5a 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 <public/elfnote.h> #include <public/features.h> +#include <xen/string.h> #else #include <xen/elfnote.h> #include <xen/features.h> #include <stdarg.h> +#include <string.h> struct elf_binary; typedef void elf_log_callback(struct elf_binary*, void *caller_data, |