HTHstMan.h is missing #include <netinet/in.h> or #include "wwwsys.h" or both
"kordex -" <[email protected]> Tue, 15 Jan 2008 23:56:55 +0200
| Newsgroups | gmane.comp.lib.libwww |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_17255_19261815.1200434215014 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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. 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. ------=_Part_17255_19261815.1200434215014 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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. 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 <br>there should be both lines as there is reference to wwwsys.h but no include to it.<br> ------=_Part_17255_19261815.1200434215014--