Summary: | resolv.h has missing headers, and can't be included alone: error: field has incomplete type 'struct sockaddr_in' | ||
---|---|---|---|
Product: | Base System | Reporter: | Yuri Victorovich <yuri> |
Component: | misc | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Closed Works As Intended | ||
Severity: | Affects Only Me | CC: | yuripv |
Priority: | --- | ||
Version: | 12.0-RELEASE | ||
Hardware: | Any | ||
OS: | Any |
Description
Yuri Victorovich
2019-10-21 06:50:15 UTC
It isn't an error per se unless documentation for some function tells you to include only resolv.h. Was this found trying to build some real-world software? (In reply to Yuri Pankov from comment #1) > Was this found trying to build some real-world software? Yes: https://github.com/vmware/cascade/blob/master/src/common/sockstream.h#L37 TBH, I don't see a reason for that include to be there at all. Does it compile if include is removed? I asked them to remove the include. Thanks for your help! |