in_cksum.h for sparc64 missing ifdef KERNEL?

Ulrich Spörlein uqs at
Mon Oct 26 20:09:50 UTC 2009


while trying to cleanup some WARNS issues under sbin/, I noticed that
natd(8) fails to compile for sparc64 only, due to missing "struct
mbuf" declaration in in_cksum.h. Comparing that header to other arch's
headers leads me to believe an #ifdef is missing.

See attached patch, but please note that I do not have the resources to
run this through a make universe right now.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cksum.diff
Type: text/x-diff
Size: 478 bytes
Desc: not available
Url :

More information about the freebsd-hackers mailing list