]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
test: overlay: add missing include
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 11 Oct 2018 00:16:46 +0000 (02:16 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 22 Oct 2018 13:18:49 +0000 (09:18 -0400)
Compiling the overlay unit test fails with odroid-c2_defconfig showing
errors like:

    test/overlay/cmd_ut_overlay.c:29:8:
    error: unknown type name ‘fdt32_t’

Add the missing include.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/overlay/cmd_ut_overlay.c

index f7ff93799f590eaa2f833692913a1f178eff443f..3d34c8ab53ade7ff5124e997f2bd82426aff8feb 100644 (file)
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <command.h>
 #include <errno.h>
+#include <fdt_support.h>
 #include <malloc.h>
 
 #include <linux/sizes.h>