* 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:
Corinna Vinschen
2005-09-17 08:55:30 +00:00
parent b3ecdcf438
commit 5da8b1281b
4 changed files with 11 additions and 3 deletions

View File

@ -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. */