From 4166ecb247a1ec9f906313428e8b9059c9f2b619 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 15 Oct 2014 04:38:31 -0600 Subject: Add some standard headers external code might need inttypes.h defines format specifiers for printf which work with data types of particular sizes. stdlib.h is currently just a passthrough to malloc.h which has declarations of the various *alloc functions. Add the required #define to common.h so that these printf format specifiers will be made available. Signed-off-by: Gabe Black Reviewed-by: Gabe Black Tested-by: Gabe Black Reviewed-by: Bill Richardson Signed-off-by: Simon Glass (Replaced with a GPL version from glibc) --- include/stdlib.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 include/stdlib.h (limited to 'include/stdlib.h') diff --git a/include/stdlib.h b/include/stdlib.h new file mode 100644 index 0000000..6bc7fbb --- /dev/null +++ b/include/stdlib.h @@ -0,0 +1,12 @@ +/* + * Copyright (C) 2013 Google Inc. + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef __STDLIB_H_ +#define __STDLIB_H_ + +#include + +#endif /* __STDLIB_H_ */ -- cgit v1.1