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

Sascha Hauer s.hauer at pengutronix.de
Wed Sep 14 04:38:00 EDT 2011


On Tue, Sep 13, 2011 at 03:24:44PM +0200, Wolfram Sang wrote:
> Signed-off-by: Wolfram Sang <w.sang at pengutronix.de>

Applied to master.

Sascha

> ---
>  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
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list