--- fakeroot-1.18.2.orig/libfakeroot.c +++ fakeroot-1.18.2/libfakeroot.c @@ -1551,7 +1551,7 @@ #endif /* LIBFAKEROOT_DEBUGGING */ r=next_fts_read(ftsp); if(r && r->fts_statp) { /* Should we bother checking fts_info here? */ -# if defined(STAT64_SUPPORT) && !defined(__APPLE__) +# if defined(STAT64_SUPPORT) && !defined(__APPLE__) && !defined(__UCLIBC__) SEND_GET_STAT64(r->fts_statp, _STAT_VER); # else SEND_GET_STAT(r->fts_statp, _STAT_VER); @@ -1574,7 +1574,7 @@ first=next_fts_children(ftsp, options); for(r = first; r; r = r->fts_link) { if(r && r->fts_statp) { /* Should we bother checking fts_info here? */ -# if defined(STAT64_SUPPORT) && !defined(__APPLE__) +# if defined(STAT64_SUPPORT) && !defined(__APPLE__) && !defined(__UCLIBC__) SEND_GET_STAT64(r->fts_statp, _STAT_VER); # else SEND_GET_STAT(r->fts_statp, _STAT_VER);