From owner-freebsd-hackers Fri Jan 31 12:37:07 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA10960 for hackers-outgoing; Fri, 31 Jan 1997 12:37:07 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA10937; Fri, 31 Jan 1997 12:36:46 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.3/8.6.9) id HAA30414; Sat, 1 Feb 1997 07:33:17 +1100 Date: Sat, 1 Feb 1997 07:33:17 +1100 From: Bruce Evans Message-Id: <199701312033.HAA30414@godzilla.zeta.org.au> To: asami@vader.cs.berkeley.edu, eivind@dimaga.com Subject: Re: Cc: hackers@freebsd.org, wollman@freebsd.org Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Should I add something like > >.if exists(/usr/bin/net/if_var.h) >CFLAGS+= HAS_NET_IF_VAR_H >.endif > >to the Makefile in addition, perhaps? As long as I haven't got a "proper" >solution this is the best I can see. (This could be a loop over the >include-path instead of a direct test, but I cannot see this gaining much >on anything but very obscure systems.) Since the exposed user interface still contains kernel-internal data- structures and applications didn't need to know about this before, the correct solution is to merge back into , perhaps using a nested include. Ugh. Bruce