summaryrefslogtreecommitdiff
path: root/ares.h
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2012-04-14 12:27:08 +0200
committerGuenter Knauf <lists@gknw.net>2012-04-14 12:27:08 +0200
commit4ef145cede844ba0a690219b36fc585d62863bf8 (patch)
tree01737b82c351f7ac69839009d69623cb2ee35c94 /ares.h
parent41f8ff5070a4d9659043c42df853d4421ab1205a (diff)
downloadc-ares-4ef145cede844ba0a690219b36fc585d62863bf8.tar.gz
c-ares-4ef145cede844ba0a690219b36fc585d62863bf8.tar.bz2
c-ares-4ef145cede844ba0a690219b36fc585d62863bf8.zip
Fix for Android to include sys/select.h for fd_set.
Diffstat (limited to 'ares.h')
-rw-r--r--ares.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ares.h b/ares.h
index a3abec8..9702edf 100644
--- a/ares.h
+++ b/ares.h
@@ -37,7 +37,8 @@
libc5-based Linux systems. Only include it on system that are known to
require it! */
#if defined(_AIX) || defined(__NOVELL_LIBC__) || defined(__NetBSD__) || \
- defined(__minix) || defined(__SYMBIAN32__) || defined(__INTEGRITY)
+ defined(__minix) || defined(__SYMBIAN32__) || defined(__INTEGRITY) || \
+ defined(__ANDROID__)
#include <sys/select.h>
#endif
#if (defined(NETWARE) && !defined(__NOVELL_LIBC__))