RH 6.1 of installation 5.2.8 - head.c wont compile

I've been trying for a long time to get hold of some c code that will 
check the content-length header of an http object for a long time. 
I've installed the library... but when I compile I get (this is the 
last page or so of stuff that comes up):

                 from /usr/include/w3c-libwww/WWWInit.h:51,
                 from head.c:22:
/usr/include/w3c-libwww/HTMulti.h:62: warning: `struct stat' declared 
inside par
ameter list
In file included from /usr/include/w3c-libwww/WWWNews.h:85,
                 from /usr/include/w3c-libwww/HTInit.h:70,
                 from /usr/include/w3c-libwww/WWWInit.h:51,
                 from head.c:22:
/usr/include/w3c-libwww/HTNDir.h:82: parse error before `time_t'
In file included from /usr/include/w3c-libwww/WWWStream.h:69,
                 from /usr/include/w3c-libwww/HTInit.h:139,
                 from /usr/include/w3c-libwww/WWWInit.h:51,
                 from head.c:22:
/usr/include/w3c-libwww/HTFWrite.h:47: parse error before `FILE'
head.c: In function `printer':
head.c:26: `stdout' undeclared (first use in this function)
head.c:26: (Each undeclared identifier is reported only once
head.c:26: for each function it appears in.)
head.c: In function `tracer':
head.c:31: `stderr' undeclared (first use in this function)
head.c: In function `main':
head.c:50: `stdout' undeclared (first use in this function)
/usr/include/w3c-libwww/HTHstMan.h: At top level:
/usr/include/w3c-libwww/HTHstMan.h:93: storage size of `sock_addr' 
isn't known

help. I'm dumb.

-
James Hicks - General Manager
Outpost Internet
http://www.outpost.net.au
-

Received on Friday, 1 September 2000 00:58:05 UTC