Date: Sun, 08 Oct 2000 09:07:20 +0900 From: itojun@iijlab.net To: Archie Cobbs <archie@whistle.com>, freebsd-net@freebsd.org, developers@freebsd.org Subject: Re: header bogosity in <net/radix.h> Message-ID: <6077.970963640@coconut.itojun.org> In-Reply-To: itojun's message of Sun, 08 Oct 2000 09:05:49 JST. <6051.970963549@coconut.itojun.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>>Isn't this bogus? For example, it conflicts with any program that >>#defines Free() for itself. Apparenly some of these C files >>(sys/net/radix.c, sys/net/route.c, sys/net/rtsock.c) are used in >>both kernel and userland compilation. >> >>What is the correct way to do this? > > I had the same problem with compiling with openssl headers, on netbsd. > > if i were you, i'd remove "!_KERNEL" case, and define those in kernel > compilation only. i believe this was here so that we can share radix.[ch] among sys/net, and sbin/routed. itojun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6077.970963640>