Look for sockaddr_storage in sys/socket.h
commitab5573ae9f4178a7b6f6920f04c73a65feb3c690
authorDennis Stosberg <dennis@stosberg.net>
Tue, 15 Aug 2006 09:01:25 +0000 (15 11:01 +0200)
committerJunio C Hamano <junkio@cox.net>
Tue, 15 Aug 2006 09:57:42 +0000 (15 02:57 -0700)
tree78e5aaa651d23b8859e34a77dc919f311ba73c0f
parentf4e14ca9e05876ec1e0d79d7c12b5b3a6b2e9d08
Look for sockaddr_storage in sys/socket.h

On Solaris and the BSDs the definition of "struct sockaddr_storage"
is not available from "netinet/in.h".  On Solaris "sys/socket.h" is
enough, at least OpenBSD needs "sys/types.h", too.

Using "sys/types.h" and "sys/socket.h" seems to be a more portable
way.

Signed-off-by: Dennis Stosberg <dennis@stosberg.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
configure.ac