projects
/
platform
/
upstream
/
cmocka.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c367df5
)
example: Add missing stdlib.h.
author
Andreas Schneider
<asn@cryptomilk.org>
Wed, 24 Jul 2013 08:08:44 +0000
(10:08 +0200)
committer
Andreas Schneider
<asn@cryptomilk.org>
Wed, 24 Jul 2013 08:08:44 +0000
(10:08 +0200)
This fixes a build error on Windows.
example/allocate_module.c
patch
|
blob
|
history
diff --git
a/example/allocate_module.c
b/example/allocate_module.c
index
c6df8c6
..
295e10e
100644
(file)
--- a/
example/allocate_module.c
+++ b/
example/allocate_module.c
@@
-20,6
+20,7
@@
#include <malloc.h>
#endif
#include <sys/types.h>
+#include <stdlib.h>
#if UNIT_TESTING
extern void* _test_malloc(const size_t size, const char* file, const int line);