diff --git a/mozilla/htmlparser/src/nsHTMLContentSinkStream.h b/mozilla/htmlparser/src/nsHTMLContentSinkStream.h
index 5f8ad79eb37..9cf91acd75e 100644
--- a/mozilla/htmlparser/src/nsHTMLContentSinkStream.h
+++ b/mozilla/htmlparser/src/nsHTMLContentSinkStream.h
@@ -51,7 +51,7 @@
-class ostream;
+#include
class nsHTMLContentSinkStream : public nsIHTMLContentSink {
public:
diff --git a/mozilla/parser/htmlparser/src/nsHTMLContentSinkStream.h b/mozilla/parser/htmlparser/src/nsHTMLContentSinkStream.h
index 5f8ad79eb37..9cf91acd75e 100644
--- a/mozilla/parser/htmlparser/src/nsHTMLContentSinkStream.h
+++ b/mozilla/parser/htmlparser/src/nsHTMLContentSinkStream.h
@@ -51,7 +51,7 @@
-class ostream;
+#include
class nsHTMLContentSinkStream : public nsIHTMLContentSink {
public: