Fix include for linkerscript variables like _etext. Otherwise build with #define DEBUG will fail. Signed-off-by: Alexander Aring <alex.aring@xxxxxxxxx> --- common/meminfo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/meminfo.c b/common/meminfo.c index 06fce5a..a7c515f 100644 --- a/common/meminfo.c +++ b/common/meminfo.c @@ -2,6 +2,7 @@ #include <init.h> #include <memory.h> #include <asm-generic/memory_layout.h> +#include <asm-generic/sections.h> static int display_meminfo(void) { -- 1.8.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox