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

Antony Pavlov antonynpavlov at gmail.com
Tue May 6 00:16:50 PDT 2014


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

Signed-off-by: Antony Pavlov <antonynpavlov at 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




More information about the barebox mailing list