stdlib.h: include missed types.h
PATCH 1/1 stdlib.h: include missed types.h
We use 'u32' type in stdlib.h so we have to include types.h.
Signed-off-by Antony Pavlov <[email protected]>
--- include/stdlib.h | 2 ++ 1 file changed, 2 insertions(+)
include/stdlib.h +2 -0
@@ -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] */
Signature · 7 lines
1.9.2 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 3 lines · Antony Pavlov
We use 'u32' type in
stdlib.hso we have to includetypes.h.Signed-off-by Antony Pavlov <[email protected]>
Applied, thanks
Sascha
Quoted 26 lines
--- include/stdlib.h | 2 ++ 1 file changed, 2 insertions(+)include/stdlib.h +2
-0@@ -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] */ Signature · 7 lines
1.9.2 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
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 [email protected] http://lists.infradead.org/mailman/listinfo/barebox