Summary: | Solaris sctp.h requires sys/socket.h | ||
---|---|---|---|
Product: | APR | Reporter: | Allen Wittenauer <allenw> |
Component: | APR | Assignee: | Apache Portable Runtime bugs mailinglist <bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 0.9.6 | ||
Target Milestone: | --- | ||
Hardware: | Sun | ||
OS: | Solaris |
Description
Allen Wittenauer
2005-06-12 17:15:44 UTC
*** This bug has been marked as a duplicate of 35021 *** The referenced 'duplicate' did fix the code. It did not fix autoconf. Currently we aren't detecting sctp.h because the autoconf-foo doesn't know to include sys/socket.h in the process of testing for sctp.h; sctp.h won't compile. There's a pretty big red warning on solaris 10, at least, in ./configure. Actually, while this is kind of ugly, it turns out to not be an actual problem. The presence of netinet/sctp.h is detected, and that's what's used later on when determining if we should use it, and at that point we do include sys/socket.h first, so it does work. It would certainly be nice if we didn't get that scary warning, but it's not a bug in the sense that the SCTP support does still end up turned on, at least as far as I can tell. |