From: Hans de Goede <hdegoede@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: Hans de Goede <hdegoede@redhat.com>, qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 1/2] device_tree: Fix build with latest libfdt
Date: Thu, 6 Jun 2013 16:39:33 +0200 [thread overview]
Message-ID: <1370529574-31069-2-git-send-email-hdegoede@redhat.com> (raw)
In-Reply-To: <1370529574-31069-1-git-send-email-hdegoede@redhat.com>
We override libfdt_env.h with our own copy, and the latest libfdt expects
libfdt_env.h to define fdt##_t types.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
include/libfdt_env.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/include/libfdt_env.h b/include/libfdt_env.h
index 3667d4c..1cd8766 100644
--- a/include/libfdt_env.h
+++ b/include/libfdt_env.h
@@ -19,8 +19,14 @@
#ifndef _LIBFDT_ENV_H
#define _LIBFDT_ENV_H
+#include <stdint.h>
+
#include "qemu/bswap.h"
+typedef uint16_t fdt16_t;
+typedef uint32_t fdt32_t;
+typedef uint64_t fdt64_t;
+
#ifdef HOST_WORDS_BIGENDIAN
#define fdt32_to_cpu(x) (x)
#define cpu_to_fdt32(x) (x)
--
1.8.2.1
next prev parent reply other threads:[~2013-06-06 14:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-06 14:39 [Qemu-devel] [PATCH 0/2] 2 compile / build fixes Hans de Goede
2013-06-06 14:39 ` Hans de Goede [this message]
2013-06-06 14:51 ` [Qemu-devel] [PATCH 1/2] device_tree: Fix build with latest libfdt Gerd Hoffmann
2013-06-11 2:13 ` Peter Crosthwaite
2013-06-12 13:55 ` Paolo Bonzini
2013-06-12 14:01 ` Peter Maydell
2013-06-12 14:03 ` Paolo Bonzini
2013-06-06 14:39 ` [Qemu-devel] [PATCH 2/2] usb/host-libusb: Fix building with libusb git master code Hans de Goede
2013-06-06 14:47 ` Gerd Hoffmann
2013-06-07 14:13 ` Ed Maste
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=1370529574-31069-2-git-send-email-hdegoede@redhat.com \
--to=hdegoede@redhat.com \
--cc=kraxel@redhat.com \
--cc=qemu-devel@nongnu.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).