Subject: net/pfil.h:97: `NULL' undeclared
To: None <>
From: evaldas <>
List: current-users
Date: 04/13/2001 23:03:35

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 ?