Make configure check sockaddr.sa_len
My previous patch attached in Ticket#2103 uses "#if defined(netbsd_TARGETOS)", so does not care other systems that have member s*_len (length of struct sockaddr_*) of struct sockaddr_*.
This one check if struct sockaddr has member sa_len by configure script and uses "#if defined(HAVE_STRUCT_SOCKADDR_SA_LEN)" to determine whether to poke s*_len or not.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.8.2 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | libraries/network |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | Unknown |
| Architecture | Unknown |