cURL / Mailing Lists / curl-library / Single Mail

curl-library

[ curl-Bugs-1088958 ] lib/select.c includes header files in the wrong order

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 21 Dec 2004 03:23:30 -0800

Bugs item #1088958, was opened at 2004-12-21 11:23
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1088958&group_id=976

Category: compile or build problem
Group: crash
Status: Open
Resolution: None
Priority: 5
Submitted By: Peter Pentchev (roamer)
Assigned to: Daniel Stenberg (bagder)
Summary: lib/select.c includes header files in the wrong order

Initial Comment:
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

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1088958&group_id=976
Received on 2004-12-21