mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] stdlib.h: include missed types.h
@ 2014-05-06  7:16 Antony Pavlov
  2014-05-07  6:23 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Antony Pavlov @ 2014-05-06  7:16 UTC (permalink / raw)
  To: barebox

We use 'u32' type in stdlib.h so we have to include types.h.

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
 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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] stdlib.h: include missed types.h
  2014-05-06  7:16 [PATCH] stdlib.h: include missed types.h Antony Pavlov
@ 2014-05-07  6:23 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2014-05-07  6:23 UTC (permalink / raw)
  To: Antony Pavlov; +Cc: barebox

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@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@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 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-07  6:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-06  7:16 [PATCH] stdlib.h: include missed types.h Antony Pavlov
2014-05-07  6:23 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox