summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-05-03 11:24:30 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-05-03 11:24:30 +0000
commite37c67b73f60944f8eeaf516ae8e1f880e61c708 (patch)
treef2d508580d50406a6eab5d8ba326cefcbf474964 /configure.in
parent4213a33aa47b67b29bda00ed526ffe863bf661c8 (diff)
* configure.in: add #include <errno.h> in AC_CHECK_DECLS().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 0785fef1bb..3c6a7c4dfd 100644
--- a/configure.in
+++ b/configure.in
@@ -187,7 +187,8 @@ done])
AC_DEFINE_UNQUOTED([NORETURN(x)], $rb_cv_noreturn)
dnl Check whether we need to define sys_nerr locally
-AC_CHECK_DECLS([sys_nerr])
+AC_CHECK_DECLS([sys_nerr], [], [], [$ac_includes_default
+#include <errno.h>])
dnl whether link libc_r or not
AC_ARG_WITH(libc_r,