aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/mozilla-embed-persist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/mozilla-embed-persist.cpp')
-rw-r--r--embed/mozilla/mozilla-embed-persist.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/embed/mozilla/mozilla-embed-persist.cpp b/embed/mozilla/mozilla-embed-persist.cpp
index 68f545cfe..29b8b8804 100644
--- a/embed/mozilla/mozilla-embed-persist.cpp
+++ b/embed/mozilla/mozilla-embed-persist.cpp
@@ -31,14 +31,18 @@
#include "MozDownload.h"
#include <stddef.h>
+
#include <nsIWebBrowserPersist.h>
-#include <nsString.h>
#include <nsCWebBrowserPersist.h>
-#include <nsNetUtil.h>
#include <nsIHistoryEntry.h>
#include <nsISHEntry.h>
+
+#ifdef ALLOW_PRIVATE_STRINGS
+#include <nsString.h>
+#include <nsNetUtil.h>
#include <nsIDocumentEncoder.h>
#include <nsIDocument.h>
+#endif
static void
mozilla_embed_persist_class_init (MozillaEmbedPersistClass *klass);