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.
pgphI3UcwHyQj.pgp
Description: PGP signature