|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-2916915 ] Include <sys/select.h> on older FreeBSD versions
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Fri, 18 Dec 2009 11:03:37 +0000
Bugs item #2916915, was opened at 2009-12-18 11:03
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
Of course, this could be construed as a problem in curl consumers - if you use network sockets, use the network API :) However, there are programs that have no obvious need for the <sys/select.h> definitions, and for them, the attached patch should fix the problem on earlier versions of FreeBSD.
If for some reason this patch does not go through, it will very soon be available at http://cvsweb.freebsd.org/ports/ftp/curl/files/patch-include__curl__curl.h
Actually... this patch just adds FreeBSD < 8 to the list of OS's for which <sys/select.h> is included conditionally. I wonder if this should not be made unconditional, since multi.h does use the fd_set everywhere. But for the present, this is enough to get the FreeBSD ports of other programs to build, so it's basically your call from here on :) I have no problem with this remaining a local patch in the FreeBSD port, too.
Thanks for your work on cURL!
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info