svn commit: r255246 - head/sys/sys

Konstantin Belousov kostikbel at gmail.com
Thu Sep 5 14:03:28 UTC 2013


On Thu, Sep 05, 2013 at 01:46:30PM +0000, Gleb Smirnoff wrote:
> Author: glebius
> Date: Thu Sep  5 13:46:30 2013
> New Revision: 255246
> URL: http://svnweb.freebsd.org/changeset/base/255246
> 
> Log:
>   Fix build.
>   counter.h requires systm.h
> 
> Modified:
>   head/sys/sys/sf_buf.h
> 
> Modified: head/sys/sys/sf_buf.h
> ==============================================================================
> --- head/sys/sys/sf_buf.h	Thu Sep  5 12:56:08 2013	(r255245)
> +++ head/sys/sys/sf_buf.h	Thu Sep  5 13:46:30 2013	(r255246)
> @@ -54,6 +54,7 @@ struct sfstat {				/* sendfile statistic
>  
>  #ifdef _KERNEL
>  #include <machine/sf_buf.h>
> +#include <sys/systm.h>
>  #include <sys/counter.h>
>  struct mbuf;	/* for sf_buf_mext() */
>  
IMO the counter.h (and sfstat, SFSTAT_INC) should be removed from the sf_buf.h.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20130905/1ad578a1/attachment.sig>


More information about the svn-src-head mailing list