aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/MozDownload.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/MozDownload.cpp')
-rw-r--r--embed/mozilla/MozDownload.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed/mozilla/MozDownload.cpp b/embed/mozilla/MozDownload.cpp
index 1160bfa2b..48b7cf79f 100644
--- a/embed/mozilla/MozDownload.cpp
+++ b/embed/mozilla/MozDownload.cpp
@@ -57,7 +57,9 @@
#include <glib/gi18n.h>
#include <nsIFileURL.h>
+#define MOZILLA_STRICT_API
#include <nsEmbedString.h>
+#undef MOZILLA_STRICT_API
const char* const persistContractID = "@mozilla.org/embedding/browser/nsWebBrowserPersist;1";