summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2013-12-11 14:16:07 +0100
committerAnatol Belski <ab@php.net>2013-12-11 14:16:07 +0100
commitf0cf312d8c1b99cb8ec5ae5da767b4cdc3f44ec9 (patch)
treea402b43f32763d0e27210c2814de30bddd7a6ee0 /ext
parente9efc16660e0d3dbc821150c346e7a8c27f563c5 (diff)
parentedf601a41f4d8b468883c25f3981d20fd2a9921d (diff)
downloadphp-git-f0cf312d8c1b99cb8ec5ae5da767b4cdc3f44ec9.tar.gz
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: added missing prototype
Diffstat (limited to 'ext')
-rw-r--r--ext/sockets/sockaddr_conv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/sockets/sockaddr_conv.c b/ext/sockets/sockaddr_conv.c
index bc1131a734..1c1a90d58f 100644
--- a/ext/sockets/sockaddr_conv.c
+++ b/ext/sockets/sockaddr_conv.c
@@ -9,6 +9,8 @@
#include <arpa/inet.h>
#endif
+extern int php_string_to_if_index(const char *val, unsigned *out TSRMLS_DC);
+
#if HAVE_IPV6
/* Sets addr by hostname, or by ip in string form (AF_INET6) */
int php_set_inet6_addr(struct sockaddr_in6 *sin6, char *string, php_socket *php_sock TSRMLS_DC) /* {{{ */