summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pathchk.c1
1 files changed, 1 insertions, 0 deletions
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 */