FYI, I've just pushed this change:
Avoid use of private FTS type name.
* lib/fts.c (fts_sort): Use FTSENT rather than "struct _ftsent".
diff --git a/lib/fts.c b/lib/fts.c
index ceb8935..82ea8f6 100644
--- a/lib/fts.c
+++ b/lib/fts.c
@@ -1475,7 +1475,7 @@ fts_sort (FTS *sp, FTSENT *head, register size_t nitems)
* 40 so don't realloc one entry at a time.
*/
if (nitems > sp->fts_nitems) {
- struct _ftsent **a;
+ FTSENT **a;
sp->fts_nitems = nitems + 40;
if (SIZE_MAX / sizeof *a < sp->fts_nitems
--
1.5.4.rc2.1.gc00e