From b045982ba5dbf0c51c827de0224e582c8b525ee9 Mon Sep 17 00:00:00 2001 From: "nisheeth%netscape.com" Date: Tue, 2 Mar 1999 03:03:52 +0000 Subject: [PATCH] nsParser.cpp would not compile if the EXPAT compiler define was set because I had not included nsExpatDTD.h. Now, nsExpatDTD.h gets included if EXPAT is set. git-svn-id: svn://10.0.0.236/trunk@22513 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/htmlparser/src/nsParser.cpp | 3 +++ mozilla/parser/htmlparser/src/nsParser.cpp | 3 +++ 2 files changed, 6 insertions(+) diff --git a/mozilla/htmlparser/src/nsParser.cpp b/mozilla/htmlparser/src/nsParser.cpp index 66776d39a51..7d49933515d 100644 --- a/mozilla/htmlparser/src/nsParser.cpp +++ b/mozilla/htmlparser/src/nsParser.cpp @@ -31,6 +31,9 @@ #include "CNavDTD.h" #include "nsWellFormedDTD.h" #include "nsViewSourceHTML.h" //uncomment this to partially enable viewsource... +#ifdef EXPAT + #include "nsExpatDTD.h" +#endif #undef rickgdebug #ifdef rickgdebug diff --git a/mozilla/parser/htmlparser/src/nsParser.cpp b/mozilla/parser/htmlparser/src/nsParser.cpp index 66776d39a51..7d49933515d 100644 --- a/mozilla/parser/htmlparser/src/nsParser.cpp +++ b/mozilla/parser/htmlparser/src/nsParser.cpp @@ -31,6 +31,9 @@ #include "CNavDTD.h" #include "nsWellFormedDTD.h" #include "nsViewSourceHTML.h" //uncomment this to partially enable viewsource... +#ifdef EXPAT + #include "nsExpatDTD.h" +#endif #undef rickgdebug #ifdef rickgdebug