Error at compilation on Solaris 2.6

Piotr Kasztelowicz <[email protected]> Tue, 21 Oct 2003 11:07:37 +0200 (MET DST)
Newsgroups gmane.network.mathopd
Message-ID <Pine.GSO.4.31.0310211106280.17025-100000@sun>
Hello

I'll compile mathopd 1.4 on Solaris 2.6 (Sun ultrasprac)
with gcc 2.95.2 but such error has been presented

sun:5 ~/src/mathopd-1.4p1/src% make
gcc -c -O -Wall  core.c -o core.o
core.c: In function `accept_connection':
core.c:142: `socklen_t' undeclared (first use in this function)
core.c:142: (Each undeclared identifier is reported only once
core.c:142: for each function it appears in.)
core.c:142: parse error before `lsa'
core.c:147: `lsa' undeclared (first use in this function)
make: *** [core.o] Error 1

Please help :)

Piotr
--
Piotr Kasztelowicz                  [email protected]
http://www.am.torun.pl/~pekasz