From 95d4a15403d6c8bbd926c8476dcbed0bc51665fe Mon Sep 17 00:00:00 2001 From: "pinkerton%netscape.com" Date: Tue, 2 Feb 1999 17:09:44 +0000 Subject: [PATCH] Fix solaris bustage by including headers instead of using forward class decl's for nsCOMPtr'd interfaces in a header file. git-svn-id: svn://10.0.0.236/trunk@19326 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpfe/appshell/src/nsWebShellWindow.cpp | 3 --- mozilla/xpfe/appshell/src/nsWebShellWindow.h | 10 ++++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp b/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp index 3ca1deecf1d..c363045cb87 100644 --- a/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp +++ b/mozilla/xpfe/appshell/src/nsWebShellWindow.cpp @@ -34,7 +34,6 @@ #include "nsAppShellCIDs.h" #include "nsXULCommand.h" -#include "nsIXULCommand.h" #include "nsIDOMCharacterData.h" #include "nsIMenuBar.h" @@ -44,8 +43,6 @@ // XXX: Only needed for the creation of the widget controller... #include "nsIDocumentViewer.h" #include "nsIDocument.h" -#include "nsIDOMDocument.h" -#include "nsIDOMNode.h" #include "nsIDOMElement.h" #include "nsIDocumentLoader.h" #include "nsIDOMHTMLInputElement.h" diff --git a/mozilla/xpfe/appshell/src/nsWebShellWindow.h b/mozilla/xpfe/appshell/src/nsWebShellWindow.h index 03bdd86e783..7be6bf7b0f3 100644 --- a/mozilla/xpfe/appshell/src/nsWebShellWindow.h +++ b/mozilla/xpfe/appshell/src/nsWebShellWindow.h @@ -25,6 +25,12 @@ #include "nsIWebShell.h" #include "nsIDocumentLoaderObserver.h" #include "nsVoidArray.h" + +// can't use forward class decl's because of template bugs on Solaris +#include "nsIDOMDocument.h" +#include "nsIDOMNode.h" +#include "nsIXULCommand.h" + #include "nsCOMPtr.h" /* Forward declarations.... */ @@ -32,11 +38,7 @@ class nsIURL; class nsIAppShell; class nsIWidget; class nsIWidgetController; -class nsIDOMDocument; -class nsIDOMNode; -class nsIXULCommand; class nsIDOMCharacterData; -class nsIDOMDocument; class nsIDOMHTMLInputElement; class nsIDOMHTMLImageElement; class nsIDOMElement;