aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2004-05-23 09:06:34 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2004-05-23 09:06:34 +0800
commit455e2d1a2cc0a32276999dcd9396ceb310346755 (patch)
tree8253293b9cd5cb5a2b161db2e9b776faf1584a5e /embed/mozilla
parent185332a657487d79f6e359385969e940526aad12 (diff)
downloadgsoc2013-epiphany-455e2d1a2cc0a32276999dcd9396ceb310346755.tar
gsoc2013-epiphany-455e2d1a2cc0a32276999dcd9396ceb310346755.tar.gz
gsoc2013-epiphany-455e2d1a2cc0a32276999dcd9396ceb310346755.tar.bz2
gsoc2013-epiphany-455e2d1a2cc0a32276999dcd9396ceb310346755.tar.lz
gsoc2013-epiphany-455e2d1a2cc0a32276999dcd9396ceb310346755.tar.xz
gsoc2013-epiphany-455e2d1a2cc0a32276999dcd9396ceb310346755.tar.zst
gsoc2013-epiphany-455e2d1a2cc0a32276999dcd9396ceb310346755.zip
Fix some headers fallouts with mozilla head
2004-05-23 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/MozillaPrivate.cpp: Fix some headers fallouts with mozilla head
Diffstat (limited to 'embed/mozilla')
-rw-r--r--embed/mozilla/EphyBrowser.cpp1
-rw-r--r--embed/mozilla/EphyBrowser.h4
-rw-r--r--embed/mozilla/MozillaPrivate.cpp5
3 files changed, 9 insertions, 1 deletions
diff --git a/embed/mozilla/EphyBrowser.cpp b/embed/mozilla/EphyBrowser.cpp
index 6c08d7b3f..7500058c0 100644
--- a/embed/mozilla/EphyBrowser.cpp
+++ b/embed/mozilla/EphyBrowser.cpp
@@ -69,7 +69,6 @@
#endif
#ifdef ALLOW_PRIVATE_STRINGS
-#include "nsString.h"
#include "nsReadableUtils.h"
#include "nsIDocument.h"
#include "nsIDeviceContext.h"
diff --git a/embed/mozilla/EphyBrowser.h b/embed/mozilla/EphyBrowser.h
index 4fef54986..f244fc60b 100644
--- a/embed/mozilla/EphyBrowser.h
+++ b/embed/mozilla/EphyBrowser.h
@@ -34,6 +34,10 @@
#include <nsIDOMWindow.h>
#include <nsIPrintSettings.h>
+#ifdef ALLOW_PRIVATE_STRINGS
+#include "nsString.h"
+#endif
+
#ifdef ALLOW_PRIVATE_API
#include <nsIDocShell.h>
#include <nsIDOMEventReceiver.h>
diff --git a/embed/mozilla/MozillaPrivate.cpp b/embed/mozilla/MozillaPrivate.cpp
index daa3e284d..cfd69173e 100644
--- a/embed/mozilla/MozillaPrivate.cpp
+++ b/embed/mozilla/MozillaPrivate.cpp
@@ -33,6 +33,11 @@
#include <nsIWebBrowserChrome.h>
#include <gtkmozembed.h>
+#ifdef ALLOW_PRIVATE_STRINGS
+#include "nsString.h"
+#include "nsReadableUtils.h"
+#endif
+
GtkWidget *MozillaFindEmbed (nsIDOMWindow *aDOMWindow)
{
if (!aDOMWindow) return nsnull;