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
You are right, it should. I'll fix this. > >> At least one example from the real world is geo/foxtrotgps Right. Foxtrotgps uses #define _XOPEN_SOURCE, which causes sys/time.h to NOT pull in sys/select.h. -- Christian "naddy" Weisgerber na...@mips.inka.de