From b95a5190ba9284a06f9d0c56589bcb4080b4710a Mon Sep 17 00:00:00 2001 From: Jan Kundrát Date: Fri, 3 Nov 2017 03:06:35 +0100 Subject: Do not attempt to use the systemwide libfdt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit U-Boot bundles a patched copy of libfdt, so it's wrong to attempt to include it . This breaks the build for me when I have dtc fully installed in my host -- as happened earlier tonight with Buildroot, for example. There are several other occurrences throughout the code where ' include style is being used -- IMHO wrongly. Signed-off-by: Jan Kundrát --- tools/fdtgrep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/fdtgrep.c') diff --git a/tools/fdtgrep.c b/tools/fdtgrep.c index f51f5f15f5..5897b6d5f7 100644 --- a/tools/fdtgrep.c +++ b/tools/fdtgrep.c @@ -16,8 +16,8 @@ #include #include -#include <../include/libfdt.h> -#include +#include "../include/libfdt.h" +#include "libfdt_internal.h" /* Define DEBUG to get some debugging output on stderr */ #ifdef DEBUG -- cgit v1.2.3