Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/usr.bin/kdump

> On 2. Jun 2018, at 22:07, matthew green <> wrote:
> Module Name:	src
> Committed By:	mrg
> Date:		Sat Jun  2 20:07:15 UTC 2018
> Modified Files:
> 	src/usr.bin/kdump: mkioctls
> Log Message:
> just include <sys/mutex.h> for mkioctls.  this works fine for me
> for several platforms and fixes the clang build.
> To generate a diff of this commit:
> cvs rdiff -u -r1.50 -r1.51 src/usr.bin/kdump/mkioctls

This breaks the build:

In file included from /build/devel/src/sys/net/if.h:99:0,
                 from kdump-ioctl.c:23:
/build/devel/src/sys/altq/if_altq.h:48:2: error: unknown type name 'kmutex_t'
  kmutex_t *ifq_lock;

The real problem seems the sys include search path:

#include <...> search starts here:

Most <sys/XXX.h> includes come from "cddl/osnet/sys/sys" which looks wrong.

Suppose the search better starts with "-I${NETBSDSRCDIR}/sys" ...

J. Hannken-Illjes - - TU Braunschweig (Germa

Home | Main Index | Thread Index | Old Index