With newer gnulib, the sc_prohibit_always_true_header_tests check
fails with:
  find/fstype.c:30:#if HAVE_MNTENT_H
  maint.mk: do not test the above HAVE_<header>_H symbol(s);
    with the corresponding gnulib module, they are always true
  make: *** [maint.mk:969: sc_prohibit_always_true_header_tests] Error 1

* find/fstype.c (#include <mntent.h>): Remove as it is not actually used.
---
 find/fstype.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/find/fstype.c b/find/fstype.c
index b5cdfcba..a7ca25df 100644
--- a/find/fstype.c
+++ b/find/fstype.c
@@ -27,9 +27,6 @@
 /* system headers. */
 #include <errno.h>
 #include <fcntl.h>
-#if HAVE_MNTENT_H
-# include <mntent.h>
-#endif
 #include <stdbool.h>
 #include <stdio.h>
 #include <stdlib.h>
--
2.47.0


Reply via email to