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/stdio.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/stdio.h')
-rw-r--r-- | libc/include/stdio.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libc/include/stdio.h b/libc/include/stdio.h index b3b0adf..79e526b 100644 --- a/libc/include/stdio.h +++ b/libc/include/stdio.h @@ -41,6 +41,16 @@ #include <sys/cdefs.h> #include <sys/_types.h> +/* va_list and size_t must be defined by stdio.h according to Posix */ +#define __need___va_list +#include <stdarg.h> + +/* note that this forces stddef.h to *only* define size_t */ +#define __need_size_t +#include <stddef.h> + +#include <stddef.h> + #if __BSD_VISIBLE || __POSIX_VISIBLE || __XPG_VISIBLE #include <sys/types.h> /* XXX should be removed */ #endif |