DragonFly BSD
DragonFly bugs List (threaded) for 2004-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: netinet/in.h ?


From: Jeroen Ruigrok/asmodai <asmodai@xxxxxx>
Date: Thu, 2 Sep 2004 21:39:19 +0200

-On [20040902 21:32], walt (wa1ter@xxxxxxxxxxxxx) wrote:
>Well, the plot thickens -- in FreeBSD-CURRENT the variable for endian
>stuff (ntohl) *is* defined in in.h but not in FreeBSD-4.x where the
>variable is defined in <machine/endian.h> but in DFly is defined in
><arpa/inet.h> and this makes the compiler perfectly happy -- so I
>remain confused about what is the correct fix.

Mmm, SUS v2, IEEE 1003.1-2004, Open Group Base Spec Issue 6 all say:
arpa/inet.h for ntohl().

-- 
Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / kita no mono
Free Tibet! http://www.savetibet.org/ | http://www.tibet.nu/
http://www.tendra.org/   | http://www.in-nomine.org/
To the dull mind nature is leaden. To the illumined mind the whole world
burns and sparkles with light...



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]