Date: Mon, 20 Mar 1995 21:50:11 +1000 From: Bruce Evans <bde@zeta.org.au> To: current@FreeBSD.org, jhay@mikom.csir.co.za Subject: Re: make netstat breaks Message-ID: <199503201150.VAA16140@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>After the latest changes to kvm.h I get: > cc -O2 -I/sys -c /usr/src/usr.bin/netstat/unix.c > In file included from /usr/src/usr.bin/netstat/unix.c:41: > /usr/include/kvm.h:66: parse error before `kvm_uread' > /usr/include/kvm.h:66: parse error before `u_long' >Shouldn't kvm.h include sys/types.h ? or should netstat include it? kvm.h shouldn't use u_long (nothing should use u_foo). Perhaps it shouldn't use size_t. Note that it uses `unsigned long' and `unsigned int' to declare kvm_read(), although the sources and the man page use u_long and size_t. The man page doesn't mention kvm_uread(). Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503201150.VAA16140>