Kirill Bychkov: > Shouldn't OpenBSD be mentioned here in curl/curl.h, since we have > <sys/select.h>: > /* HP-UX systems version 9, 10 and 11 lack sys/select.h and so does oldish > libc5-based Linux systems. Only include it on systems that are known to > require it! */ > #if defined(_AIX) || defined(__NOVELL_LIBC__) || defined(__NetBSD__) || \ > defined(__minix) || defined(__SYMBIAN32__) || defined(__INTEGRITY) || \ > defined(ANDROID) || defined(__ANDROID__) || \ > (defined(__FreeBSD_version) && (__FreeBSD_version < 800000)) > #include <sys/select.h> > #endif
In practice, <sys/select.h> is already pulled in via <sys/types.h> earlier in that file, so we aren't "known to require it". (The FreeBSD version limitation is odd.) > At least one example from the real world is geo/foxtrotgps > (patches/patch-src_geo_photos_c) But geo_photos.c doesn't include curl.h, so I don't see the connection. -- Christian "naddy" Weisgerber na...@mips.inka.de