fix compilation on AIX
authorYang Tse <yangsita@gmail.com>
Thu, 28 May 2009 16:43:17 +0000 (16:43 +0000)
committerYang Tse <yangsita@gmail.com>
Thu, 28 May 2009 16:43:17 +0000 (16:43 +0000)
adig.c

diff --git a/adig.c b/adig.c
index 8b5cb2a..c218e46 100644 (file)
--- a/adig.c
+++ b/adig.c
 #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;