diff options
-rw-r--r-- | m4/getcwd-path-max.m4 | 3 |
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 |