From: Samuel Thibault Date: Mon, 29 Jul 2013 09:18:10 +0000 (+0200) Subject: stubdom: Fix stubdom undeclared function build warnings X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=d1deb72b34469d6bd5522fcd56962046590e76ea;p=people%2Fliuw%2Fstubdom.git 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 Signed-off-by: Samuel Thibault Acked-by: Ian Campbell --- diff --git a/grub/config.h b/grub/config.h index 1649d51..15a6583 100644 --- a/grub/config.h +++ b/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