summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2014-05-06 11:16:50 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2014-05-07 08:23:08 +0200
commit03c0e1511e8fac521f959f4c21e7abbdf6572a61 (patch)
treeea3b291a3b90b23be13e09919c0814821861676f /include
parent0839e3f402ffc74202a1ca4fbeaffcadb4336ce1 (diff)
downloadbarebox-03c0e1511e8fac521f959f4c21e7abbdf6572a61.tar.gz
barebox-03c0e1511e8fac521f959f4c21e7abbdf6572a61.tar.xz
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 <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/stdlib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 07d6e582a7..f3185069f3 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] */