diff --git a/htmlparser/src/nsScanner.h b/htmlparser/src/nsScanner.h
index 4ecad26d2dff..244544d0a156 100644
--- a/htmlparser/src/nsScanner.h
+++ b/htmlparser/src/nsScanner.h
@@ -39,7 +39,8 @@
#include
class nsIURL;
-class ifstream;
+//class ifstream; XXX mac didn't like this, but this doesn't seem to be needed
+// for the pc either...
class CScanner {
public:
diff --git a/parser/htmlparser/src/nsScanner.h b/parser/htmlparser/src/nsScanner.h
index 4ecad26d2dff..244544d0a156 100644
--- a/parser/htmlparser/src/nsScanner.h
+++ b/parser/htmlparser/src/nsScanner.h
@@ -39,7 +39,8 @@
#include
class nsIURL;
-class ifstream;
+//class ifstream; XXX mac didn't like this, but this doesn't seem to be needed
+// for the pc either...
class CScanner {
public: