[PATCH 1/4] xfuncs.h: include linux/types.h to avoid non decleration of size_t
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Fri Aug 27 01:15:15 EDT 2010
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
include/xfuncs.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/xfuncs.h b/include/xfuncs.h
index 4ce4e92..222ea41 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);
--
1.7.1
More information about the barebox
mailing list