Commit 59e2ceaf authored by Stephen Morris's avatar Stephen Morris
Browse files

[1202] Add missing header files

Update all of the RR definition files so that they are complete in
themselves so that they compile in the rdataclass.cc framework,
regardless of what other files are included.
parent 4e3c6c5e
......@@ -41,6 +41,10 @@ heading_txt = '''///////////////
///////////////
///////////////
'''
rrtypeh_txt = '''// Many RR implementation files require definition of RR types.
#include <dns/rrtype.h>
'''
def import_classdef(class_txt, file):
......@@ -200,6 +204,7 @@ def generate_rdatadef(file, basemtime):
return
rdata_deffile = open(file, 'w')
rdata_deffile.write(heading_txt)
rdata_deffile.write(rrtypeh_txt)
rdata_deffile.write(class_definitions)
rdata_deffile.close()
......
......@@ -23,6 +23,7 @@
#include <util/encode/base64.h>
#include <dns/messagerenderer.h>
#include <dns/name.h>
#include <dns/rdata.h>
#include <dns/rdataclass.h>
#include <dns/tsigerror.h>
......
......@@ -26,6 +26,7 @@
#include <boost/lexical_cast.hpp>
using namespace std;
using namespace isc::util;
using namespace isc::util::str;
// BEGIN_ISC_NAMESPACE
......
......@@ -24,6 +24,7 @@
using namespace std;
using namespace isc::dns;
using namespace isc::util;
// BEGIN_ISC_NAMESPACE
// BEGIN_RDATA_NAMESPACE
......
......@@ -24,6 +24,7 @@
using namespace std;
using namespace isc::dns;
using namespace isc::util;
// BEGIN_ISC_NAMESPACE
// BEGIN_RDATA_NAMESPACE
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment