svn commit: r366936 - head/sys/net

Konstantin Belousov kostikbel at gmail.com
Fri Oct 23 09:46:30 UTC 2020


On Fri, Oct 23, 2020 at 10:04:12AM +0200, Hans Petter Selasky wrote:
> On 2020-10-22 19:54, Hans Petter Selasky wrote:
> > On 2020-10-22 18:48, Konstantin Belousov wrote:
> > > sys/systm.h already includes sys/param.h.  Also, sys/param.h already
> > > includes
> > > sys/types.h.
> > 
> > I'll have a look tomorrow at this. Thanks for pointing out.
> 
> It appears sys/systm.h needs sys/types.h included first:
Normally you do
#include <sys/param.h>
#include <sys/systm.h>
and I do not see why it would not work in this case.

> 
> > In file included from /usr/img/freebsd.svn/src/sys/sys/systm.h:44:
> > ./machine/atomic.h:230:1: error: unknown type name 'u_char'; did you mean 'char'?
> > ATOMIC_CMPSET(char);
> 
> --HPS


More information about the svn-src-all mailing list