From c8e6e35ba4095846121d5b5a3eee57caa5e8e0fb Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 18 Dec 2006 22:10:24 +0000 Subject: nc: add missing cast xfuncs: add dprintf for dietlibc --- include/platform.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/platform.h') 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; * libbb. This would require a platform.c. It's not going to be cleaned * out of the tree, so stop saying it should be. */ #define fdprintf dprintf +#ifdef __dietlibc__ +int dprintf(int fd, const char *format, ...); +#endif /* Don't use lchown with glibc older than 2.1.x ... uC-libc lacks it */ #if (defined __GLIBC__ && __GLIBC__ <= 2 && __GLIBC_MINOR__ < 1) || \ -- cgit v1.2.3