5.7.2.pre1 is lacking ifdefs for freebsd10/freebsd9. The attached patch resolves this issue.
Add freebsd10/freebsd9 checks to sctp* headers
This exists in 5.7.2.pre1 and should be fixed before the release of 5.7.2
These should not be necessary, as the freebsd9 include file includes freebsd8 which in turn includes freebsd7.
My test compile on FreeBSD9 includes sctpScalars_freebsd etc. without extra defines.
What probem do you see?
I was merging patches from the FreeBSD port and saw that this was added at some point in the past to resolve a build failure under FreeBSD 10-CURRENT.
I don't see why a box running freebsd10 would #define freebsd8, so it sort of seems like they should still be needed.
For FreeBSD 10 you should create the proper system/freebsd10.h header file, that defines freebsd10 and includes freebsd9.h
That is the proper solution, which also fixes it for the rest of the mib groups.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.