cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

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

*** This mailing list is moving ***
*** http://curl.haxx.se/mail/ ***
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/config.h.in also sets up the socklen_t type.

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ 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.
http://www.eclipsecon.org/osdn
Received on 2004-02-05