From f07b2d045f354a29706eaee8374438e9f244d161 Mon Sep 17 00:00:00 2001 From: Ian Lepore Date: Sun, 2 Mar 2014 17:19:19 +0000 Subject: [PATCH] Include needed header. I don't know why clang didn't complain about this but gcc sure did. --- sys/boot/uboot/common/metadata.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/boot/uboot/common/metadata.c b/sys/boot/uboot/common/metadata.c index e0ab469a370..65ba0035c77 100644 --- a/sys/boot/uboot/common/metadata.c +++ b/sys/boot/uboot/common/metadata.c @@ -41,6 +41,10 @@ __FBSDID("$FreeBSD$"); #include "bootstrap.h" #include "glue.h" +#if defined(LOADER_FDT_SUPPORT) +#include "libuboot.h" +#endif + /* * Return a 'boothowto' value corresponding to the kernel arguments in * (kargs) and any relevant environment variables.