]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
more DNS_OPT_NEWCODES sanitation
authorAndreas Gustafsson <source@isc.org>
Sat, 2 Dec 2000 04:30:08 +0000 (04:30 +0000)
committerAndreas Gustafsson <source@isc.org>
Sat, 2 Dec 2000 04:30:08 +0000 (04:30 +0000)
bin/named/client.c
bin/named/include/named/client.h
lib/dns/message.c

index 4026b137952f1b7f3ba5de9c5e2541b7758256c8..742dbf2ed92f0a370c58b6c544d505e19bff8ac2 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: client.c,v 1.133 2000/12/02 02:07:37 gson Exp $ */
+/* $Id: client.c,v 1.134 2000/12/02 04:30:08 gson Exp $ */
 
 #include <config.h>
 
@@ -30,7 +30,9 @@
 #include <dns/dispatch.h>
 #include <dns/events.h>
 #include <dns/message.h>
+#ifdef DNS_OPT_NEWCODES
 #include <dns/opt.h>
+#endif /* DNS_OPT_NEWCODES */
 #include <dns/rdata.h>
 #include <dns/rdataclass.h>
 #include <dns/rdatalist.h>
index 1c98f5cd7a8086eef39103d13ea7e4478a658d5d..0f74b0dd45ee945799ec0ef94514185ed291a442 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: client.h,v 1.47 2000/12/01 21:30:20 gson Exp $ */
+/* $Id: client.h,v 1.48 2000/12/02 04:29:24 gson Exp $ */
 
 #ifndef NAMED_CLIENT_H
 #define NAMED_CLIENT_H 1
@@ -71,8 +71,9 @@
 #include <dns/types.h>
 #include <dns/tcpmsg.h>
 #include <dns/fixedname.h>
+#ifdef DNS_OPT_NEWCODES
 #include <dns/opt.h>
-
+#endif /* DNS_OPT_NEWCODES */
 #include <named/types.h>
 #include <named/query.h>
 
index 45829b63cc08d6503d3725412cf10f70023ef278..f2b2856876f312e1faf97ff63a1be1346154c687 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: message.c,v 1.160 2000/12/02 04:13:30 gson Exp $ */
+/* $Id: message.c,v 1.161 2000/12/02 04:24:26 gson Exp $ */
 
 /***
  *** Imports
@@ -32,7 +32,9 @@
 #include <dns/keyvalues.h>
 #include <dns/log.h>
 #include <dns/message.h>
+#ifdef DNS_OPT_NEWCODES
 #include <dns/opt.h>
+#endif /* DNS_OPT_NEWCODES */
 #include <dns/rdata.h>
 #include <dns/rdatalist.h>
 #include <dns/rdataset.h>