Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Feb 1997 07:33:17 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        asami@vader.cs.berkeley.edu, eivind@dimaga.com
Cc:        hackers@freebsd.org, wollman@freebsd.org
Subject:   Re: <net/if_var.h>
Message-ID:  <199701312033.HAA30414@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>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 <net/if_var.h> back into <net/if.h>,
perhaps using a nested include.  Ugh.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701312033.HAA30414>