[PATCH 1/9] meminfo: fix missing include

Alexander Aring alex.aring at gmail.com
Sun Jan 13 12:42:15 EST 2013


Fix include for linkerscript variables like _etext.
Otherwise build with #define DEBUG will fail.

Signed-off-by: Alexander Aring <alex.aring at gmail.com>
---
 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




More information about the barebox mailing list