Skip to contentSkip to conversation

stdlib.h: include missed types.h

PATCH Applied Antony Pavlov 2 participants 2 messages May 6, 2014 – May 7, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 stdlib.h: include missed types.h

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

---
 include/stdlib.h | 2 ++
 1 file changed, 2 insertions(+)
include/stdlib.h +2 -0
index 07d6e58..f318506 100644
@@ -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
Applied
#1 lore raw
Quoted 3 lines · Antony Pavlov

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

Applied, thanks

Sascha

Quoted 26 lines
---
 include/stdlib.h | 2 ++
 1 file changed, 2 insertions(+)
include/stdlib.h +2 -0
index 07d6e58..f318506 100644
@@ -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