]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
still leave out the htons
authorMiek Gieben <miekg@NLnetLabs.nl>
Tue, 21 Dec 2004 15:01:36 +0000 (15:01 +0000)
committerMiek Gieben <miekg@NLnetLabs.nl>
Tue, 21 Dec 2004 15:01:36 +0000 (15:01 +0000)
ldns/host2str.h
ldns/str2host.h
util.c

index 033636b033a57be28ae50e825c0d7ab519aa7738..56a9a079557e3cf40990940919e680a6e497db7d 100644 (file)
@@ -1,4 +1,3 @@
-#include <ldns/rdata.h>
 
 #ifndef _LDNS_HOST2STR_H
 #define _LDNS_HOST2STR_H
@@ -6,6 +5,7 @@
 #include <ldns/common.h>
 #include <ldns/error.h>
 #include <ldns/rr.h>
+#include <ldns/rdata.h>
 #include <ldns/packet.h>
 #include <ldns/buffer.h>
 #include <ctype.h>
index 05645a2fba85418b195b6eaef137bb70446c676a..1534c86c780fd3b354ce1c1ce5aaf60504719fb9 100644 (file)
@@ -1,4 +1,3 @@
-#include <ldns/rdata.h>
 
 #ifndef _LDNS_STR2HOST_H
 #define _LDNS_STR2HOST_H
@@ -6,6 +5,7 @@
 #include <ldns/common.h>
 #include <ldns/error.h>
 #include <ldns/rr.h>
+#include <ldns/rdata.h>
 #include <ldns/packet.h>
 #include <ldns/buffer.h>
 #include <ctype.h>
diff --git a/util.c b/util.c
index 83cd033299f1a8fb603c8f88454a0d50666cc5ba..9223e67bb7c7f7d019bed152d23db75cae17ba8d 100644 (file)
--- a/util.c
+++ b/util.c
@@ -15,6 +15,8 @@
 #include <ldns/rdata.h>
 #include <ldns/rr.h>
 
+#include <stdio.h>
+
 /* put this here tmp. for debugging */
 void
 xprintf_rdf(ldns_rdf *rd)