[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/2] device_tree: Fix build with latest libfdt
From: |
Hans de Goede |
Subject: |
[Qemu-devel] [PATCH 1/2] device_tree: Fix build with latest libfdt |
Date: |
Thu, 6 Jun 2013 16:39:33 +0200 |
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 <address@hidden>
---
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
[Qemu-devel] [PATCH 2/2] usb/host-libusb: Fix building with libusb git master code, Hans de Goede, 2013/06/06