Hi, 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. Regards, Uli
1618[tip] 350410f79434 2009-10-26 21:02 +0100 uqs Put this under KERNEL just like all other arch do. diff -r 5558195fb93d -r 350410f79434 sys/sparc64/include/in_cksum.h --- a/sys/sparc64/include/in_cksum.h Mon Oct 26 19:57:23 2009 +0100 +++ b/sys/sparc64/include/in_cksum.h Mon Oct 26 21:02:06 2009 +0100 @@ -164,6 +164,8 @@ return (__ret); } +#ifdef _KERNEL u_short in_cksum_skip(struct mbuf *m, int len, int skip); +#endif #endif /* _MACHINE_IN_CKSUM_H_ */
_______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"