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

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