diff options
| author | The Android Open Source Project <initial-contribution@android.com> | 2009-01-15 16:12:07 -0800 |
|---|---|---|
| committer | The Android Open Source Project <initial-contribution@android.com> | 2009-01-15 16:12:07 -0800 |
| commit | e5cc1f386b167b9f7bfdebc7219e89aa9b71e4b2 (patch) | |
| tree | 2cbd43daa6744ed80e833528f8cbfc0c485e5253 /libc/include/stdlib.h | |
| parent | 6d6c82c7a0a6b9a89f61b61c66f9b90d9c7177dc (diff) | |
| download | bionic-e5cc1f386b167b9f7bfdebc7219e89aa9b71e4b2.zip bionic-e5cc1f386b167b9f7bfdebc7219e89aa9b71e4b2.tar.gz bionic-e5cc1f386b167b9f7bfdebc7219e89aa9b71e4b2.tar.bz2 | |
auto import from //branches/cupcake/...@126645
Diffstat (limited to 'libc/include/stdlib.h')
| -rw-r--r-- | libc/include/stdlib.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 <sys/cdefs.h> + +/* 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 <stddef.h> + #include <stddef.h> #include <string.h> #include <alloca.h> |
