[PATCH 1/5] bbu: include necessary headers

Lucas Stach dev at lynxeye.de
Fri Feb 27 11:22:14 PST 2015


Fixes compile errors due to undefined symbols.

Signed-off-by: Lucas Stach <dev at lynxeye.de>
---
 include/bbu.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/bbu.h b/include/bbu.h
index adb52b0..4a3d35e 100644
--- a/include/bbu.h
+++ b/include/bbu.h
@@ -2,6 +2,8 @@
 #define __INCLUDE_BBU_H
 
 #include <asm-generic/errno.h>
+#include <linux/list.h>
+#include <linux/types.h>
 
 struct bbu_data {
 #define BBU_FLAG_FORCE	(1 << 0)
-- 
2.1.0




More information about the barebox mailing list