sniper          Wed Jul 13 20:08:16 2005 EDT

  Modified files:              
    /php-src    acinclude.m4 
  Log:
  Fix the re_magic test by adding missing #include <sys/types.h>
  
http://cvs.php.net/diff.php/php-src/acinclude.m4?r1=1.329&r2=1.330&ty=u
Index: php-src/acinclude.m4
diff -u php-src/acinclude.m4:1.329 php-src/acinclude.m4:1.330
--- php-src/acinclude.m4:1.329  Wed Jul 13 10:34:46 2005
+++ php-src/acinclude.m4        Wed Jul 13 20:08:13 2005
@@ -1,5 +1,5 @@
 dnl
-dnl $Id: acinclude.m4,v 1.329 2005/07/13 14:34:46 sniper Exp $
+dnl $Id: acinclude.m4,v 1.330 2005/07/14 00:08:13 sniper Exp $
 dnl
 dnl This file contains local autoconf functions.
 dnl
@@ -2479,7 +2479,8 @@
     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 <regex.h>], [struct regex_t rt; rt.re_magic;],
+      AC_TRY_COMPILE([#include <sys/types.h>
+#include <regex.h>], [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

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to