diff --git a/src/pathchk.c b/src/pathchk.c index 2e89b1c8a..f0110b57e 100644 --- a/src/pathchk.c +++ b/src/pathchk.c @@ -66,6 +66,7 @@ extern int errno; # endif /* not PATH_MAX */ # ifndef NAME_MAX # define NAME_MAX_FOR(p) pathconf_wrapper ((p), _PC_NAME_MAX); +# undef NEED_PATHCONF_WRAPPER # define NEED_PATHCONF_WRAPPER 1 # endif /* not NAME_MAX */