diff --git a/htmlparser/src/nsHTMLContentSinkStream.cpp b/htmlparser/src/nsHTMLContentSinkStream.cpp
index 3f1eb39b071b..a0f5a191fd1f 100644
--- a/htmlparser/src/nsHTMLContentSinkStream.cpp
+++ b/htmlparser/src/nsHTMLContentSinkStream.cpp
@@ -30,7 +30,7 @@
#include "nsHTMLContentSinkStream.h"
#include "nsHTMLTokens.h"
#include
-#include "nsstring.h"
+#include "nsString.h"
#include "nsParserTypes.h"
static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID);
diff --git a/parser/htmlparser/src/nsHTMLContentSinkStream.cpp b/parser/htmlparser/src/nsHTMLContentSinkStream.cpp
index 3f1eb39b071b..a0f5a191fd1f 100644
--- a/parser/htmlparser/src/nsHTMLContentSinkStream.cpp
+++ b/parser/htmlparser/src/nsHTMLContentSinkStream.cpp
@@ -30,7 +30,7 @@
#include "nsHTMLContentSinkStream.h"
#include "nsHTMLTokens.h"
#include
-#include "nsstring.h"
+#include "nsString.h"
#include "nsParserTypes.h"
static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID);