* 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:
@ -19,6 +19,7 @@
|
||||
#define _CYGWIN_IN_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cygwin/socket.h>
|
||||
|
||||
/* Standard well-defined IP protocols. If you ever add one here, don't
|
||||
forget to define it below. */
|
||||
|
Reference in New Issue
Block a user