summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko2011-07-08 08:49:40 +0200
committerDenys Vlasenko2011-07-08 08:49:40 +0200
commit14bd16ac56e81e4912341cb731dc54af0dbe9e6c (patch)
tree729afe775b6a0b5f15e67ad93909d539aaf0429e /include
parentacff3733bae6a9928d0109d5e4f93c32e82969d8 (diff)
downloadbusybox-14bd16ac56e81e4912341cb731dc54af0dbe9e6c.zip
busybox-14bd16ac56e81e4912341cb731dc54af0dbe9e6c.tar.gz
more tweak for bionic
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/platform.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/platform.h b/include/platform.h
index 07b1faa..e22dbdb 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 <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