From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: IAN DELANEY <della5@iinet.com.au>, xen-devel@lists.xen.org
Subject: [PATCH] Fix stubdom undeclared function build warnings
Date: Mon, 29 Jul 2013 11:18:10 +0200 [thread overview]
Message-ID: <20130729091810.GA9664@type> (raw)
In-Reply-To: <20130726135508.GQ5872@type.bordeaux.inria.fr>
This includes a few headers to fix some missing function declarations.
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
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 <ctype.h>
#include <string.h>
+#include <kernel.h>
#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 <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,
next prev parent reply other threads:[~2013-07-29 9:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-21 16:36 build for pv-grub stubdom IAN DELANEY
2013-07-22 18:09 ` Ian Campbell
2013-07-26 13:55 ` Samuel Thibault
2013-07-29 8:17 ` Ian Campbell
[not found] ` <20130731155041.603b9048@archtester.homenetwork>
2013-07-31 12:05 ` Ian Campbell
[not found] ` <20130731214647.722c0821@archtester.homenetwork>
2013-07-31 13:56 ` Ian Campbell
[not found] ` <1375278970.7382.80.camel@kazak.uk.xensource.com>
2013-08-01 6:55 ` IAN DELANEY
2013-08-13 21:12 ` Samuel Thibault
2013-07-29 9:18 ` Samuel Thibault [this message]
2013-08-02 16:08 ` [PATCH] Fix stubdom undeclared function build warnings Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130729091810.GA9664@type \
--to=samuel.thibault@ens-lyon.org \
--cc=della5@iinet.com.au \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).