W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2008

Re: HTHstMan.h is missing #include <netinet/in.h> or #include "wwwsys.h" or both

From: Vic Bancroft <bancroft@america.net>
Date: Sun, 20 Jan 2008 00:21:38 -0500
Message-ID: <4792DA62.9080508@america.net>
To: kordex - <kordex@gmail.com>
CC: www-lib@w3.org

kordex - wrote:
> I was porting this old mosaic to new libwww (5.4) and i encountered this
> .../libwww2/HTHstMan.h:94: error: field 'sock_addr' has incomplete type among
> other errors, It was fixed by adding those lines. 
What operating system and compiler version are you using ?  Can you post 
a diff of what your environment requires ?
> Surely it can be my fault as I am still learning C or more learning to program C on unix platforms but for my knowledge there should be both lines as there is reference to wwwsys.h but no include to it.
>   
Well, a good example is perhaps HTNet.c which before it includes 
HTHstMan.h previously includes wwwsys.h.  In my world, the configure 
script must detect the host environment and write out a system specific 
wwwconf.h such that appropriate structures are instantiated.

more,
l8r,
v

-- 
"The future is here. It's just not evenly distributed yet."
 -- William Gibson, quoted by Whitfield Diffie
Received on Sunday, 20 January 2008 17:10:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 20 January 2008 17:10:35 GMT