diff --git a/htmlparser/src/nsHTMLEntities.h b/htmlparser/src/nsHTMLEntities.h
index 8f678061cf2..9df2337db69 100644
--- a/htmlparser/src/nsHTMLEntities.h
+++ b/htmlparser/src/nsHTMLEntities.h
@@ -35,7 +35,7 @@
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
-#ifndef nsHTMLEntites_h___
+#ifndef nsHTMLEntities_h___
#define nsHTMLEntities_h___
#include "nsString.h"
diff --git a/parser/htmlparser/src/nsHTMLEntities.h b/parser/htmlparser/src/nsHTMLEntities.h
index 8f678061cf2..9df2337db69 100644
--- a/parser/htmlparser/src/nsHTMLEntities.h
+++ b/parser/htmlparser/src/nsHTMLEntities.h
@@ -35,7 +35,7 @@
* the terms of any one of the NPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
-#ifndef nsHTMLEntites_h___
+#ifndef nsHTMLEntities_h___
#define nsHTMLEntities_h___
#include "nsString.h"