aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/EphySidebar.cpp4
-rw-r--r--embed/mozilla/MozRegisterComponents.cpp4
2 files changed, 8 insertions, 0 deletions
diff --git a/embed/mozilla/EphySidebar.cpp b/embed/mozilla/EphySidebar.cpp
index fda1babd8..f1ac09516 100644
--- a/embed/mozilla/EphySidebar.cpp
+++ b/embed/mozilla/EphySidebar.cpp
@@ -27,6 +27,10 @@
#include <nsCRT.h>
#include <nsIProgrammingLanguage.h>
+#ifdef HAVE_GECKO_1_9
+#include <nsIClassInfoImpl.h>
+#endif
+
#undef MOZILLA_INTERNAL_API
#include <nsEmbedString.h>
#define MOZILLA_INTERNAL_API 1
diff --git a/embed/mozilla/MozRegisterComponents.cpp b/embed/mozilla/MozRegisterComponents.cpp
index 03867c699..77b52de91 100644
--- a/embed/mozilla/MozRegisterComponents.cpp
+++ b/embed/mozilla/MozRegisterComponents.cpp
@@ -54,6 +54,10 @@
#include <nsILocalFile.h>
#include <nsNetCID.h>
+#ifdef HAVE_GECKO_1_9
+#include <nsIClassInfoImpl.h>
+#endif
+
#include <glib/gmessages.h>
NS_GENERIC_FACTORY_CONSTRUCTOR(MozDownload)