summaryrefslogtreecommitdiff
path: root/ext/sockets/sockaddr_conv.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2013-12-11 14:15:40 +0100
committerAnatol Belski <ab@php.net>2013-12-11 14:15:40 +0100
commitedf601a41f4d8b468883c25f3981d20fd2a9921d (patch)
tree600e976f5f5b0450e3b6cf537ced41a1b34545fb /ext/sockets/sockaddr_conv.c
parentb6bcae5c1000fa4785d71502cbc30fb7a83db13d (diff)
downloadphp-git-edf601a41f4d8b468883c25f3981d20fd2a9921d.tar.gz
added missing prototype
Diffstat (limited to 'ext/sockets/sockaddr_conv.c')
-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) /* {{{ */