1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-11-21 07:39:23 +00:00

Don't check for HAVE_ defines in this header file, it is meant to be public

and we can't depend on configure-defines in it. This logic is borrowed from
the public curl headers.
This commit is contained in:
Daniel Stenberg
2004-02-25 07:22:00 +00:00
parent cfe7ce7a57
commit ff2794fc5f

5
ares.h
View File

@ -20,7 +20,10 @@
#include <sys/types.h>
#ifdef HAVE_SYS_SELECT_H
#ifdef _AIX
/* HP-UX systems version 9, 10 and 11 lack sys/select.h and so does oldish
libc5-based Linux systems. Only include it on system that are known to
require it! */
#include <sys/select.h>
#endif