aboutsummaryrefslogtreecommitdiffstats
path: root/stubdom
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-07-29 11:18:10 +0200
committerIan Campbell <ian.campbell@citrix.com>2013-08-02 15:37:26 +0100
commit10f6b65545579fcac65d783156db7a70eeca2550 (patch)
treeb5ce73d1d8a03eef16c29652d10bdfaac6458d07 /stubdom
parent6072b7c808043b6886c33f896e06fc32ee28346e (diff)
downloadxen-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 'stubdom')
-rw-r--r--stubdom/grub/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stubdom/grub/config.h b/stubdom/grub/config.h
index 1649d51459..15a6583999 100644
--- a/stubdom/grub/config.h
+++ b/stubdom/grub/config.h
@@ -2,6 +2,7 @@
#undef putchar
#include <ctype.h>
#include <string.h>
+#include <kernel.h>
#define debug _debug
#define grub_halt(a) do_exit()
#define printf grub_printf