nc: add missing cast

xfuncs: add dprintf for dietlibc
This commit is contained in:
Denis Vlasenko
2006-12-18 22:10:24 +00:00
parent 83e5d6f772
commit c8e6e35ba4
3 changed files with 35 additions and 1 deletions

View File

@@ -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) || \