From 81d6349ec52986bc670f65e48b624f80ea5a87f3 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 22 Jan 2003 20:28:25 +0000 Subject: [PATCH] Require FTW_DCH and FTW_DCHP, too. --- m4/ftw.m4 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/m4/ftw.m4 b/m4/ftw.m4 index 55c8a2786b..2c2da41606 100644 --- 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); } -- 2.47.2