Browse Source

[2470] reordered dns/ header files to check independence of rrcollator.h

as suggested in the review.
JINMEI Tatuya 12 years ago
parent
commit
15d0b77ba7
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/lib/dns/rrcollator.cc

+ 3 - 1
src/lib/dns/rrcollator.cc

@@ -14,9 +14,11 @@
 
 #include <exceptions/exceptions.h>
 
+// include this first to check the header is self-contained.
+#include <dns/rrcollator.h>
+
 #include <dns/name.h>
 #include <dns/rdataclass.h>
-#include <dns/rrcollator.h>
 #include <dns/rrclass.h>
 #include <dns/rrtype.h>
 #include <dns/rrttl.h>