Fix compilation issue while xml is disabled

This commit is contained in:
Felipe Zimmerle
2018-02-21 16:15:05 -03:00
parent ff782ddfa4
commit ac100785d1
9 changed files with 54 additions and 6 deletions

View File

@@ -23,6 +23,7 @@
namespace modsecurity {
namespace RequestBodyProcessor {
#ifdef WITH_LIBXML2
XML::XML(Transaction *transaction)
: m_transaction(transaction) {
@@ -148,6 +149,7 @@ bool XML::complete(std::string *error) {
return true;
}
#endif
} // namespace RequestBodyProcessor
} // namespace modsecurity