summaryrefslogtreecommitdiff
path: root/src/pathchk.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-12-11 10:00:57 +0000
committerJim Meyering <jim@meyering.net>2002-12-11 10:00:57 +0000
commitbd385df70a0ddf5fb876817d09c6891b8f6faa35 (patch)
treee888b7e477c421aa659f99757ec04da75d5b7afa /src/pathchk.c
parentb8b8ba810caed39bdee0750bbfea750ea1f971c7 (diff)
downloadcoreutils-bd385df70a0ddf5fb876817d09c6891b8f6faa35.tar.xz
(NEED_PATHCONF_WRAPPER): Undefine before defining,
in case it's already defined.
Diffstat (limited to 'src/pathchk.c')
-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 */