Date: Mon, 10 Sep 2001 07:42:14 -0700 From: Bill Fenner <fenner@research.att.com> To: ticso@mail.cicely.de Cc: arch@freebsd.org Subject: Re: Causing <netinet/in.h> to depend on <sys/socket.h> Message-ID: <200109101442.HAA17411@windsor.research.att.com> References: <200109072125.OAA25298@windsor.research.att.com> <20010910115619.A4979@cicely20.cicely.de>
next in thread | previous in thread | raw e-mail | index | archive | help
>If it is defined as protocol independend it doesn't belong into a >protocol dependend header. >E.g. I don't want to include netinet/in.h in an IPv6 only application. Tough. <netinet6/in6.h> is an implementation artifact; the standard place to get IPv6-related stuff (e.g. sockaddr_in6) is <netinet/in.h> . Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109101442.HAA17411>