Subject: Re: problems with arpa/inet.h
To: SamMaEl <rimsky@teleport.com>
From: Todd Vierling <tv@NetBSD.ORG>
List: current-users
Date: 06/08/1998 16:34:32
On Mon, 8 Jun 1998, SamMaEl wrote:

: > ...before including <arpa/inet.h>, you need <netinet/in.h>.
: 
: 	Ok, I figured it was something easy, but it compiled fine under
: Linux... any idea when the netinet/in.h dependency will be fixed?

"fixed"?  It's not a bug; it's been documented that way for years.  See the
inet_addr(3) manpage and note the directives on what files you should
include.

Code that forgets <netinet/in.h> before <arpa/inet.h> will fail to compile
on a lot more than just NetBSD....

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)