author | Dennis Stosberg <dennis@stosberg.net> | |
Tue, 15 Aug 2006 09:01:25 +0000 (11:01 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 15 Aug 2006 09:57:42 +0000 (02:57 -0700) | ||
commit | ab5573ae9f4178a7b6f6920f04c73a65feb3c690 | |
tree | 78e5aaa651d23b8859e34a77dc919f311ba73c0f | tree | snapshot |
parent | f4e14ca9e05876ec1e0d79d7c12b5b3a6b2e9d08 | commit | diff |
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>
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 | diff | blob | history |