summaryrefslogtreecommitdiff
path: root/ubi-utils/src/libpfiflash.c
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@linux.ibm.com>2006-12-11 14:34:23 +0100
committerFrank Haverkamp <haver@vnet.ibm.com>2006-12-11 14:34:23 +0100
commitfbd2f11e12df8fd142aed37c0c25c08a1a26e44d (patch)
tree139741a7aa98ea76123868d346d77d31368fbd8a /ubi-utils/src/libpfiflash.c
parentc573347818b96a54827a073336838da725b8892e (diff)
[PATCH 13/13] Include stdlib.h for malloc
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com> Acked-by: Frank Haverkamp <haver@vnet.ibm.com>
Diffstat (limited to 'ubi-utils/src/libpfiflash.c')
-rw-r--r--ubi-utils/src/libpfiflash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ubi-utils/src/libpfiflash.c b/ubi-utils/src/libpfiflash.c
index 1dc9f10..dd55203 100644
--- a/ubi-utils/src/libpfiflash.c
+++ b/ubi-utils/src/libpfiflash.c
@@ -33,6 +33,7 @@
#include <fcntl.h>
#define __USE_GNU
#include <string.h>
+#include <stdlib.h>
#include <libubi.h>
#include <pfiflash.h>