]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Require FTW_DCH and FTW_DCHP, too.
authorJim Meyering <jim@meyering.net>
Wed, 22 Jan 2003 20:28:25 +0000 (20:28 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 22 Jan 2003 20:28:25 +0000 (20:28 +0000)
m4/ftw.m4

index 55c8a2786b23588e96d13f6b8b621054ef63333a..2c2da416068b89408a185ab05e753025081d3c81 100644 (file)
--- a/m4/ftw.m4
+++ b/m4/ftw.m4
@@ -40,6 +40,10 @@ cb (const char *file, const struct stat *sb, int file_type, struct FTW *info)
 int
 main ()
 {
+  /* Require these symbols, too.  */
+  int d1 = FTW_DCH;
+  int d2 = FTW_DCHP;
+
   int err = nftw ("conftest.dir", cb, 30, FTW_PHYS | FTW_MOUNT | FTW_CHDIR);
   exit ((err == 0 && depth == 4) ? 0 : 1);
 }