On Wed, 15 Jun 2011, bnoordhuis wrote:
> Fixes 'ares.h:387: error: expected declaration specifiers or ‘...’ before
> ‘fd_set’' when compiling with `gcc -ansi`.
sys/time.h is however not good enough for fd_set on all platforms. In the curl
project we have a fairly complicated #if series to make sure we include
sys/select.h for those platforms that need that for select.
I'll look into copying that logic into the c-ares header file.
-- / daniel.haxx.seReceived on 2011-06-18