fts: port recent changes to CentOS 6
commit8af35ddc835fa799ab6c42630349f714d945b832
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Aug 2017 13:06:06 +0000 (10 06:06 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Aug 2017 13:07:03 +0000 (10 06:07 -0700)
tree6386f985e2f6ea0b25cf8247478dc3324d048209
parent009e65cc804021f388d17d6344fd62d551df8111
fts: port recent changes to CentOS 6

Problem reported by Tom G. Christensen in:
http://lists.gnu.org/archive/html/bug-gnulib/2017-08/msg00064.html
* lib/fts.c (fsword): New type.
(struct dev_type, filesystem_type): Use it.
* m4/fts.m4 (gl_FUNC_FTS_CORE): Check for __fsword_t.
Also, check for f_type only if fstatfs and sys/vfs.h work.
ChangeLog
lib/fts.c
m4/fts.m4