summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-09-03 18:28:30 +0000
committerJim Meyering <jim@meyering.net>2001-09-03 18:28:30 +0000
commitfb18828c2c4c113e62274242b556f5ca26268973 (patch)
treef6a7d8a6defb06609cabd61bb7eb8ddf5c387784
parentb2b3e046e7b3a1aa5f6c4509ef2bdf70d584ed65 (diff)
downloadcoreutils-fb18828c2c4c113e62274242b556f5ca26268973.tar.xz
(jm_PREREQ_XGETCWD): Check for limits.h and
sys/param.h, as pathmax.h includes them.
-rw-r--r--m4/prereq.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/prereq.m4 b/m4/prereq.m4
index 515449813..62b8cf89f 100644
--- a/m4/prereq.m4
+++ b/m4/prereq.m4
@@ -144,7 +144,7 @@ AC_DEFUN([jm_PREREQ_TEMPNAME],
AC_DEFUN([jm_PREREQ_XGETCWD],
[
AC_C_PROTOTYPES
- AC_CHECK_HEADERS(stdlib.h unistd.h)
+ AC_CHECK_HEADERS(limits.h stdlib.h sys/param.h unistd.h)
AC_CHECK_FUNCS(getcwd)
AC_FUNC_GETCWD_NULL
])