Include <netinet/in.h> not <sys/socket.h>. Include
authordrepper <drepper>
Sat, 27 Jan 2001 02:25:50 +0000 (02:25 +0000)
committerdrepper <drepper>
Sat, 27 Jan 2001 02:25:50 +0000 (02:25 +0000)
commit87a7b48ace6a3daded3da07363097f39bc194b11
treebe580cf1c4f80aa07167fa5d41b696d57babae04
parent541d3733c10849827a992244a334d1459aa7785f
Include <netinet/in.h> not <sys/socket.h>.  Include
<rpc/netdb.h> only if __USE_MISC.  Include <stdint.h> instead of
defining uint32_t here.  Define IPPORT_RESERVED.
(struct hostent): Type of h_length element is int.
(getnameinfo): Type of flags parameter is unsigned int.
resolv/netdb.h