From 14bd16ac56e81e4912341cb731dc54af0dbe9e6c Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 8 Jul 2011 08:49:40 +0200 Subject: more tweak for bionic Signed-off-by: Denys Vlasenko --- include/platform.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/platform.h') diff --git a/include/platform.h b/include/platform.h index 07b1faa9f..e22dbdb4a 100644 --- a/include/platform.h +++ b/include/platform.h @@ -266,6 +266,7 @@ typedef unsigned smalluint; #if defined __GLIBC__ \ || defined __UCLIBC__ \ || defined __dietlibc__ \ + || defined __BIONIC__ \ || defined _NEWLIB_VERSION # include #endif @@ -492,7 +493,8 @@ extern int vasprintf(char **string_ptr, const char *format, va_list p) FAST_FUNC #endif #ifndef HAVE_GETLINE -#include /* for FILE */ +# include /* for FILE */ +# include /* size_t */ extern ssize_t getline(char **lineptr, size_t *n, FILE *stream) FAST_FUNC; #endif -- cgit v1.2.3