Browse Source

This should fix problems in systems without libbind.

PHP-4.0.6
foobar 25 years ago
parent
commit
ab560941ee
  1. 1
      configure.in
  2. 2
      ext/standard/dns.c

1
configure.in

@ -389,6 +389,7 @@ putenv \
random \
rand_r \
regcomp \
res_search \
setitimer \
setlocale \
localeconv \

2
ext/standard/dns.c

@ -167,7 +167,7 @@ char *php_gethostbyname(char *name)
return estrdup(inet_ntoa(in));
}
#if HAVE_LIBBIND && !(defined(__BEOS__)||defined(PHP_WIN32))
#if HAVE_RES_SEARCH && !(defined(__BEOS__)||defined(PHP_WIN32))
/* {{{ proto int checkdnsrr(string host [, string type])
Check DNS records corresponding to a given Internet host name or IP address */

Loading…
Cancel
Save