summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2010-08-27 07:15:15 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-08-27 14:25:18 +0200
commitafcb5966efb3f882662dc90cc15b8ef422273458 (patch)
tree73540794cf8256d78d4268491fcca45a893694a6
parent76cb133be3d7ed0a8c82cc62d7fd79e89c3c508f (diff)
downloadbarebox-afcb5966efb3f882662dc90cc15b8ef422273458.tar.gz
barebox-afcb5966efb3f882662dc90cc15b8ef422273458.tar.xz
xfuncs.h: include linux/types.h to avoid non decleration of size_t
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--include/xfuncs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/xfuncs.h b/include/xfuncs.h
index 4ce4e92928..222ea416c7 100644
--- a/include/xfuncs.h
+++ b/include/xfuncs.h
@@ -1,6 +1,8 @@
#ifndef __XFUNCS_H
#define __XFUNCS_H
+#include <linux/types.h>
+
void *xmalloc(size_t size);
void *xrealloc(void *ptr, size_t size);
void *xzalloc(size_t size);