diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-07-08 08:49:40 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-07-08 08:49:40 +0200 |
commit | 14bd16ac56e81e4912341cb731dc54af0dbe9e6c (patch) | |
tree | 729afe775b6a0b5f15e67ad93909d539aaf0429e /include | |
parent | acff3733bae6a9928d0109d5e4f93c32e82969d8 (diff) | |
download | busybox-w32-14bd16ac56e81e4912341cb731dc54af0dbe9e6c.tar.gz busybox-w32-14bd16ac56e81e4912341cb731dc54af0dbe9e6c.tar.bz2 busybox-w32-14bd16ac56e81e4912341cb731dc54af0dbe9e6c.zip |
more tweak for bionic
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/platform.h | 4 |
1 files changed, 3 insertions, 1 deletions
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; | |||
266 | #if defined __GLIBC__ \ | 266 | #if defined __GLIBC__ \ |
267 | || defined __UCLIBC__ \ | 267 | || defined __UCLIBC__ \ |
268 | || defined __dietlibc__ \ | 268 | || defined __dietlibc__ \ |
269 | || defined __BIONIC__ \ | ||
269 | || defined _NEWLIB_VERSION | 270 | || defined _NEWLIB_VERSION |
270 | # include <features.h> | 271 | # include <features.h> |
271 | #endif | 272 | #endif |
@@ -492,7 +493,8 @@ extern int vasprintf(char **string_ptr, const char *format, va_list p) FAST_FUNC | |||
492 | #endif | 493 | #endif |
493 | 494 | ||
494 | #ifndef HAVE_GETLINE | 495 | #ifndef HAVE_GETLINE |
495 | #include <stdio.h> /* for FILE */ | 496 | # include <stdio.h> /* for FILE */ |
497 | # include <sys/types.h> /* size_t */ | ||
496 | extern ssize_t getline(char **lineptr, size_t *n, FILE *stream) FAST_FUNC; | 498 | extern ssize_t getline(char **lineptr, size_t *n, FILE *stream) FAST_FUNC; |
497 | #endif | 499 | #endif |
498 | 500 | ||