[PATCH] stdlib.h: include missed types.h

Sascha Hauer s.hauer at pengutronix.de
Tue May 6 23:23:20 PDT 2014


On Tue, May 06, 2014 at 11:16:50AM +0400, Antony Pavlov wrote:
> We use 'u32' type in stdlib.h so we have to include types.h.
> 
> Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>

Applied, thanks

Sascha

> ---
>  include/stdlib.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/include/stdlib.h b/include/stdlib.h
> index 07d6e58..f318506 100644
> --- a/include/stdlib.h
> +++ b/include/stdlib.h
> @@ -1,6 +1,8 @@
>  #ifndef __STDLIB_H
>  #define __STDLIB_H
>  
> +#include <types.h>
> +
>  #define RAND_MAX 32767
>  
>  /* return a pseudo-random integer in the range [0, RAND_MAX] */
> -- 
> 1.9.2
> 
> 
> _______________________________________________
> 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