summaryrefslogtreecommitdiff
path: root/nameser.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-17 01:02:57 +0000
committerYang Tse <yangsita@gmail.com>2008-09-17 01:02:57 +0000
commitf214b583f5a0439f63258dd0c21b2a5045b822c8 (patch)
treef040ae2b7239873b6b7f32035c61a3b989ce1104 /nameser.h
parent861ea67ee80d47634b9ad2474a354a61a42f7965 (diff)
downloadc-ares-f214b583f5a0439f63258dd0c21b2a5045b822c8.tar.gz
c-ares-f214b583f5a0439f63258dd0c21b2a5045b822c8.tar.bz2
c-ares-f214b583f5a0439f63258dd0c21b2a5045b822c8.zip
adjust inclusion of "nameser.h"
Diffstat (limited to 'nameser.h')
-rw-r--r--nameser.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/nameser.h b/nameser.h
index 52c2972..3d80096 100644
--- a/nameser.h
+++ b/nameser.h
@@ -5,7 +5,7 @@
/* header file provided by liren@vivisimo.com */
-
+#ifndef HAVE_ARPA_NAMESER_H
#define NS_PACKETSZ 512 /* maximum packet size */
#define NS_MAXDNAME 256 /* maximum domain name */
@@ -117,9 +117,9 @@ typedef enum __ns_rcode {
ns_r_badtime = 18
} ns_rcode;
+#endif /* HAVE_ARPA_NAMESER_H */
-
-
+#ifndef HAVE_ARPA_NAMESER_COMPAT_H
#define PACKETSZ NS_PACKETSZ
#define MAXDNAME NS_MAXDNAME
@@ -189,6 +189,6 @@ typedef enum __ns_rcode {
#define T_MAILA ns_t_maila
#define T_ANY ns_t_any
-
+#endif /* HAVE_ARPA_NAMESER_COMPAT_H */
#endif /* ARES_NAMESER_H */