cURL / Mailing Lists / curl-library / Single Mail


Re: No socklen_t, --enable-debug and config.h

From: Daniel Stenberg <>
Date: Thu, 5 Feb 2004 09:29:45 +0100 (CET)

*** This mailing list is moving ***
*** ***
On Wed, 4 Feb 2004, Tor Arntsen wrote:

> And now there is nothing that includes ../lib/config.h and then socklen_t is
> undefined and the build fails. src/main.c includes src/config.h (via
> src/setup.h), but that config.h doesn't define socklen_t like
> ../lib/config.h does.

Ah. The way that include file is included in the client code is somewhat ugly,
but I hope I've corrected this particular problem now by making sure that the
src/ also sets up the socklen_t type.

    Daniel Stenberg -- --
   [[ Do not send mails to this email address. They won't reach me. ]]
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
Received on 2004-02-05