more tweak for bionic

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2011-07-08 08:49:40 +02:00
parent acff3733ba
commit 14bd16ac56
6 changed files with 65 additions and 4 deletions

View file

@ -266,6 +266,7 @@ typedef unsigned smalluint;
#if defined __GLIBC__ \
|| defined __UCLIBC__ \
|| defined __dietlibc__ \
|| defined __BIONIC__ \
|| defined _NEWLIB_VERSION
# include <features.h>
#endif
@ -492,7 +493,8 @@ extern int vasprintf(char **string_ptr, const char *format, va_list p) FAST_FUNC
#endif
#ifndef HAVE_GETLINE
#include <stdio.h> /* for FILE */
# include <stdio.h> /* for FILE */
# include <sys/types.h> /* size_t */
extern ssize_t getline(char **lineptr, size_t *n, FILE *stream) FAST_FUNC;
#endif