aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-05-28 16:43:17 +0000
committerYang Tse <yangsita@gmail.com>2009-05-28 16:43:17 +0000
commitbf2277e26359676bec7c4d2a8205eda0bc0044e5 (patch)
treef23fd6b429ace75b8d0df86afe84e0d6169a46f5 /ares
parent348ffbc47e4c88def3bf48a8aa794e9270527361 (diff)
fix compilation on AIX
Diffstat (limited to 'ares')
-rw-r--r--ares/adig.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ares/adig.c b/ares/adig.c
index 8b5cb2a80..c218e4696 100644
--- a/ares/adig.c
+++ b/ares/adig.c
@@ -84,6 +84,11 @@
#define T_SRV 33 /* server selection */
#endif
+/* AIX portability check */
+#ifndef T_NAPTR
+#define T_NAPTR 35 /* naming authority pointer */
+#endif
+
struct nv {
const char *name;
int value;