From: foobar Date: Tue, 28 Sep 2004 20:42:56 +0000 (+0000) Subject: MFB: - Fixed bug #30205 (Missing in crypt() configure test). X-Git-Tag: PRE_NEW_VM_GEN_PATCH~156 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=72b2d1c9ee7d3d7608d55b8db9bfe0ec21981c17;p=php MFB: - Fixed bug #30205 (Missing in crypt() configure test). --- diff --git a/ext/standard/config.m4 b/ext/standard/config.m4 index 7a8689d897..9775470781 100644 --- a/ext/standard/config.m4 +++ b/ext/standard/config.m4 @@ -67,6 +67,10 @@ AC_DEFUN(AC_CRYPT_CAP,[ AC_CACHE_CHECK(for standard DES crypt, ac_cv_crypt_des,[ AC_TRY_RUN([ +#if HAVE_UNISTD_H +#include +#endif + #if HAVE_CRYPT_H #include #endif @@ -94,6 +98,10 @@ main() { AC_CACHE_CHECK(for extended DES crypt, ac_cv_crypt_ext_des,[ AC_TRY_RUN([ +#if HAVE_UNISTD_H +#include +#endif + #if HAVE_CRYPT_H #include #endif @@ -121,6 +129,10 @@ main() { AC_CACHE_CHECK(for MD5 crypt, ac_cv_crypt_md5,[ AC_TRY_RUN([ +#if HAVE_UNISTD_H +#include +#endif + #if HAVE_CRYPT_H #include #endif @@ -160,6 +172,10 @@ main() { AC_CACHE_CHECK(for Blowfish crypt, ac_cv_crypt_blowfish,[ AC_TRY_RUN([ +#if HAVE_UNISTD_H +#include +#endif + #if HAVE_CRYPT_H #include #endif