* net.cc (cygwin_inet_ntop): Change len argument to socklen_t to
follow SUSv3. * include/arpa/inet.h (inet_ntop): Ditto. * include/cygwin/in.h: Include cygwin/socket.h to get socklen_t.
This commit is contained in:
@ -27,7 +27,7 @@ in_addr_t inet_netof (struct in_addr);
|
||||
in_addr_t inet_network (const char *);
|
||||
char *inet_ntoa (struct in_addr);
|
||||
int inet_pton (int, const char *, void *);
|
||||
const char *inet_ntop (int, const void *, char *, size_t);
|
||||
const char *inet_ntop (int, const void *, char *, socklen_t);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Reference in New Issue
Block a user