aboutsummaryrefslogtreecommitdiff
path: root/ares/ares.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-25 07:22:00 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-25 07:22:00 +0000
commit3be66f3a03dab14867740a48527b5dfd2b8bf31c (patch)
treec9f7d84f3f862019eecc5e980b4583794f48d0da /ares/ares.h
parent089bdaed00bc1a81f512951aa85fb90ae1cbc520 (diff)
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.
Diffstat (limited to 'ares/ares.h')
-rw-r--r--ares/ares.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ares/ares.h b/ares/ares.h
index c3959e0b4..09efa133f 100644
--- a/ares/ares.h
+++ b/ares/ares.h
@@ -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