Subject: Re: net/pfil.h:97: `NULL' undeclared
To: evaldas <evaldas@zaibas.darktech.org>
From: None <itojun@iijlab.net>
List: current-users
Date: 04/14/2001 09:42:22
>I'm trying to upgrade v1.5 sparc port to current, but make includes in
>/usr/src stops with "..undefined reference to `__assert13'..", so I do cd
>lib/libc && make but it fails too with
>
>/usr/include/net/pfil.h: In function `pfil_hook_get':
>In file included from /usr/include/net/if.h:81,
>                 from /usr/src/lib/libc/rpc/clnt_bcast.c:58:
>/usr/include/net/pfil.h:97: `NULL' undeclared (first use in this function)
>
>If I add "#include <sys/null.h>" in net/pfil.h then it works. Can I proceed
>that way or
>is it wrong ?

	please apply the diff between revision 1.18 and 1.19 in sys/net/pfil.h.
	i'll issue a pullup request.

itojun