Skip to content

Commit edf601a

Browse files
committed
added missing prototype
1 parent b6bcae5 commit edf601a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/sockets/sockaddr_conv.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
#include <arpa/inet.h>
1010
#endif
1111

12+
extern int php_string_to_if_index(const char *val, unsigned *out TSRMLS_DC);
13+
1214
#if HAVE_IPV6
1315
/* Sets addr by hostname, or by ip in string form (AF_INET6) */
1416
int php_set_inet6_addr(struct sockaddr_in6 *sin6, char *string, php_socket *php_sock TSRMLS_DC) /* {{{ */

0 commit comments

Comments
 (0)