The prototype for getpeername() on Solaris 8/SPARC is: typedef void *Psocklen_t; int getpeername (int, struct sockaddr *, Psocklen_t);
The logic in configure.in to detect this is not going to work because the test program would be: #include <sys/types.h> #include <sy/socket.h> extern "C" int getpeername (int, struct sockaddr *, void *); struct sockaddr s; void l; ... Clearly the 'void l' is not going to work. What is the solution? -- albert chin ([EMAIL PROTECTED]) _______________________________________________ htdig-dev mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/htdig-dev
