summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-03-05 10:29:38 +0000
committerJim Meyering <jim@meyering.net>2003-03-05 10:29:38 +0000
commit4e8dbeb9345cbfd625fa7b1a6f8b4b5075d0794d (patch)
treee47b5600de04103f897785921bcfc909672a5891
parent3179bd60e73dce6929ff1c19120cc7abe432de5c (diff)
downloadcoreutils-4e8dbeb9345cbfd625fa7b1a6f8b4b5075d0794d.tar.xz
#undef mkdir to avoid link errors on
i386-unknown-netbsdelf1.6
-rw-r--r--m4/getcwd-path-max.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/m4/getcwd-path-max.m4 b/m4/getcwd-path-max.m4
index 302dbb060..c64fbe9e4 100644
--- a/m4/getcwd-path-max.m4
+++ b/m4/getcwd-path-max.m4
@@ -24,6 +24,9 @@ AC_DEFUN([GL_FUNC_GETCWD_PATH_MAX],
#include <sys/stat.h>
#include <sys/types.h>
+/* Don't get link errors because mkdir is redefined to rpl_mkdir. */
+#undef mkdir
+
#ifndef CHAR_BIT
# define CHAR_BIT 8
#endif