mirror of
https://github.com/php/php-src.git
synced 2025-08-17 14:38:49 +02:00
Fix build
This commit is contained in:
parent
b75d079c89
commit
93a606a192
1 changed files with 6 additions and 1 deletions
|
@ -28,6 +28,11 @@
|
||||||
# include <arpa/inet.h>
|
# include <arpa/inet.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef INADDR_NONE
|
||||||
|
# define INADDR_NONE ((unsigned long int) -1)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* {{{ FETCH_LONG_OPTION(var_name, option_name) */
|
/* {{{ FETCH_LONG_OPTION(var_name, option_name) */
|
||||||
#define FETCH_LONG_OPTION(var_name, option_name) \
|
#define FETCH_LONG_OPTION(var_name, option_name) \
|
||||||
var_name = 0; \
|
var_name = 0; \
|
||||||
|
@ -609,7 +614,7 @@ static int _php_filter_validate_ipv6_(char *str, int str_len TSRMLS_DC) /* {{{ *
|
||||||
}
|
}
|
||||||
ipv4++;
|
ipv4++;
|
||||||
|
|
||||||
if (!_php_filter_validate_ipv4(ipv4, (str + str_len - ipv4), ip4elm TSRMLS_CC)) {
|
if (!_php_filter_validate_ipv4(ipv4, (str + str_len - ipv4), ip4elm)) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue