projects
/
platform
/
upstream
/
c-ares.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfe7ce7
)
Don't check for HAVE_ defines in this header file, it is meant to be public
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 25 Feb 2004 07:22:00 +0000
(07:22 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 25 Feb 2004 07:22:00 +0000
(07:22 +0000)
and we can't depend on configure-defines in it. This logic is borrowed from
the public curl headers.
ares.h
patch
|
blob
|
history
diff --git
a/ares.h
b/ares.h
index
c3959e0
..
09efa13
100644
(file)
--- a/
ares.h
+++ b/
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