From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57980) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkbLx-0005C7-HU for qemu-devel@nongnu.org; Thu, 06 Jun 2013 10:39:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkbLm-0000Nk-SQ for qemu-devel@nongnu.org; Thu, 06 Jun 2013 10:39:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33546) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkbLm-0000NZ-Ly for qemu-devel@nongnu.org; Thu, 06 Jun 2013 10:39:38 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r56EdcwA017967 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 6 Jun 2013 10:39:38 -0400 From: Hans de Goede Date: Thu, 6 Jun 2013 16:39:33 +0200 Message-Id: <1370529574-31069-2-git-send-email-hdegoede@redhat.com> In-Reply-To: <1370529574-31069-1-git-send-email-hdegoede@redhat.com> References: <1370529574-31069-1-git-send-email-hdegoede@redhat.com> Subject: [Qemu-devel] [PATCH 1/2] device_tree: Fix build with latest libfdt List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Hans de Goede , qemu-devel@nongnu.org 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 --- 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 + #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