diff options
author | Dennis Stosberg <dennis@stosberg.net> | 2006-08-15 11:01:25 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-08-15 02:57:42 -0700 |
commit | ab5573ae9f4178a7b6f6920f04c73a65feb3c690 (patch) | |
tree | 78e5aaa651d23b8859e34a77dc919f311ba73c0f /rsh.c | |
parent | Solaris has strlcpy() at least since version 8 (diff) | |
download | tgif-ab5573ae9f4178a7b6f6920f04c73a65feb3c690.tar.xz |
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>
Diffstat (limited to 'rsh.c')
0 files changed, 0 insertions, 0 deletions