Menu

#468 lib/select.c includes header files in the wrong order

closed-fixed
5
2013-06-21
2004-12-21
No

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

Discussion

  • Peter Pentchev

    Peter Pentchev - 2004-12-21

    A patch to swap the sys/select.h and sys/types.h includes

     
  • Daniel Stenberg

    Daniel Stenberg - 2004-12-21
    • status: open --> closed-fixed
     
  • Daniel Stenberg

    Daniel Stenberg - 2004-12-21

    Logged In: YES
    user_id=1110

    This is fixed in CVS just a few hours ago.

     
MongoDB Logo MongoDB