netinet/in.h ?

walt wa1ter at myrealbox.com
Thu Sep 2 12:27:24 PDT 2004



On Thu, 2 Sep 2004, walt wrote:

Jeroen Ruigrok/asmodai wrote:
-On [20040901 07:32], walt (wa1ter at xxxxxxxxxxxxx) wrote:

A bunch of the latest kde ports are failing to compile for want of
this header file...


/usr/include/netinet/in.h exists on my systems.
Now that I found my missing header file there's a different problem:
the needed symbol is not defined in in.h -- except in linux.
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.
Meanwhile, I continue to substitute <arpa/inet.h> for <netinet/in.h>
just to get the kde ports installed, and so far everything is okay.




More information about the Bugs mailing list