summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
])