The new lib/select.c file tries to include <sys/select.h> before <sys/
types.h>. This does not work on systems without promiscuous
headers, i.e. header files which include all their dependencies, like e.g.
FreeBSD 4.x.
If the attached patch is somehow mangled, it is also available from the
FreeBSD Ports Collection, e.g. from
http://cvsweb.FreeBSD.org/ports/ftp/curl/files/patch-lib::select.c
A patch to swap the sys/select.h and sys/types.h includes
Logged In: YES
user_id=1110
This is fixed in CVS just a few hours ago.