From e5cc1f386b167b9f7bfdebc7219e89aa9b71e4b2 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Thu, 15 Jan 2009 16:12:07 -0800 Subject: auto import from //branches/cupcake/...@126645 --- libc/include/stdlib.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libc/include/stdlib.h') diff --git a/libc/include/stdlib.h b/libc/include/stdlib.h index a821e03..acfe694 100644 --- a/libc/include/stdlib.h +++ b/libc/include/stdlib.h @@ -29,6 +29,13 @@ #define _STDLIB_H_ #include + +/* wchar_t is required in stdlib.h according to POSIX. + * note that defining __need_wchar_t prevents stddef.h + * to define all other symbols it does normally */ +#define __need_wchar_t +#include + #include #include #include -- cgit v1.1