diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/platform.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h index a1ec17a7b..860143f7f 100644 --- a/include/platform.h +++ b/include/platform.h | |||
| @@ -194,6 +194,9 @@ typedef unsigned long long int uintmax_t; | |||
| 194 | * libbb. This would require a platform.c. It's not going to be cleaned | 194 | * libbb. This would require a platform.c. It's not going to be cleaned |
| 195 | * out of the tree, so stop saying it should be. */ | 195 | * out of the tree, so stop saying it should be. */ |
| 196 | #define fdprintf dprintf | 196 | #define fdprintf dprintf |
| 197 | #ifdef __dietlibc__ | ||
| 198 | int dprintf(int fd, const char *format, ...); | ||
| 199 | #endif | ||
| 197 | 200 | ||
| 198 | /* Don't use lchown with glibc older than 2.1.x ... uC-libc lacks it */ | 201 | /* Don't use lchown with glibc older than 2.1.x ... uC-libc lacks it */ |
| 199 | #if (defined __GLIBC__ && __GLIBC__ <= 2 && __GLIBC_MINOR__ < 1) || \ | 202 | #if (defined __GLIBC__ && __GLIBC__ <= 2 && __GLIBC_MINOR__ < 1) || \ |
