cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: configure warning

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 7 Nov 2006 15:39:15 +0100 (CET)

On Mon, 6 Nov 2006, Mark Wattier wrote:

> multi.h includes curl.h, which in turn includes <time.h> but not
> <sys/time.h> , That would seem to be in error. I don't know how 64-bit would
> affect this.
>
> Should I just change curl.h to include <sys/time.h> ? I am generally
> reluctant to do this, but I tried it, and it still does not work.

Can you compile a simple stand-alone test program that uses fd_set ? If so,
what headers do you include to get that to work/compile?

> I suppose that if _FD_SET had already been defined, that would cause this,
> but I don't yet see how that would get defined. It seems to be the usual way
> of making things only get defined once.

I can't find anything within (lib)curl that defines it, so it would only be
done by your system headers and one would assume that they do that
correctly...

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-11-07