[PATCH] include: list: add include because we need NULL

Wolfram Sang w.sang at pengutronix.de
Tue Sep 13 09:24:44 EDT 2011


Signed-off-by: Wolfram Sang <w.sang at pengutronix.de>
---
 include/linux/list.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/linux/list.h b/include/linux/list.h
index 8af1eeb..1a4cbc4 100644
--- a/include/linux/list.h
+++ b/include/linux/list.h
@@ -1,6 +1,8 @@
 #ifndef _LINUX_LIST_H
 #define _LINUX_LIST_H
 
+#include <linux/stddef.h> /* for NULL */
+
 /*
  * Simple doubly linked list implementation.
  *
-- 
1.7.5.4




More information about the barebox mailing list