netinet/in.h ?

Jeroen Ruigrok/asmodai asmodai at wxs.nl
Thu Sep 2 12:42:58 PDT 2004


-On [20040902 21:32], walt (wa1ter at 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...





More information about the Bugs mailing list