diff --git a/dom/xml/moz.build b/dom/xml/moz.build index f3af9968d3..0eb3ee686b 100644 --- a/dom/xml/moz.build +++ b/dom/xml/moz.build @@ -20,7 +20,7 @@ EXPORTS.mozilla.dom += [ 'XMLStylesheetProcessingInstruction.h', ] -UNIFIED_SOURCES += [ +SOURCES += [ 'CDATASection.cpp', 'nsXMLContentSink.cpp', 'nsXMLElement.cpp', diff --git a/dom/xml/nsXMLPrettyPrinter.cpp b/dom/xml/nsXMLPrettyPrinter.cpp index 2e086dde0b..7f1f2b07a8 100644 --- a/dom/xml/nsXMLPrettyPrinter.cpp +++ b/dom/xml/nsXMLPrettyPrinter.cpp @@ -11,6 +11,7 @@ #include "nsIXSLTProcessor.h" #include "nsSyncLoadService.h" #include "nsPIDOMWindow.h" +#include "nsIDOMDocument.h" #include "nsIDOMElement.h" #include "nsIServiceManager.h" #include "nsNetUtil.h"