From owner-freebsd-net Sat Oct 7 17: 9:38 2000 Delivered-To: freebsd-net@freebsd.org Received: from coconut.itojun.org (coconut.itojun.org [210.160.95.97]) by hub.freebsd.org (Postfix) with ESMTP id A3DA237B68D; Sat, 7 Oct 2000 17:07:23 -0700 (PDT) Received: from kiwi.itojun.org (localhost.itojun.org [127.0.0.1]) by coconut.itojun.org (8.9.3+3.2W/3.7W) with ESMTP id JAA06079; Sun, 8 Oct 2000 09:07:20 +0900 (JST) To: Archie Cobbs , freebsd-net@freebsd.org, developers@freebsd.org In-reply-to: itojun's message of Sun, 08 Oct 2000 09:05:49 JST. <6051.970963549@coconut.itojun.org> X-Template-Reply-To: itojun@itojun.org X-Template-Return-Receipt-To: itojun@itojun.org X-PGP-Fingerprint: F8 24 B4 2C 8C 98 57 FD 90 5F B4 60 79 54 16 E2 Subject: Re: header bogosity in From: itojun@iijlab.net Date: Sun, 08 Oct 2000 09:07:20 +0900 Message-ID: <6077.970963640@coconut.itojun.org> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>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