From: foobar Date: Thu, 14 Jul 2005 00:08:13 +0000 (+0000) Subject: Fix the re_magic test by adding missing #include X-Git-Tag: php-5.1.0b3~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=29894e44460620f29db7185516ef47a801de3590;p=php Fix the re_magic test by adding missing #include --- diff --git a/acinclude.m4 b/acinclude.m4 index f285350ec0..7d045e88fb 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -2479,7 +2479,8 @@ AC_DEFUN([PHP_REGEX],[ AC_DEFINE(REGEX,0,[ ]) dnl Check if field re_magic exists in struct regex_t AC_CACHE_CHECK([whether field re_magic exists in struct regex_t], ac_cv_regex_t_re_magic, [ - AC_TRY_COMPILE([#include ], [struct regex_t rt; rt.re_magic;], + AC_TRY_COMPILE([#include +#include ], [struct regex_t rt; rt.re_magic;], [ac_cv_regex_t_re_magic=yes], [ac_cv_regex_t_re_magic=no]) ]) if test "$ac_cv_regex_t_re_magic" = "yes"; then