aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/EphyUtils.h')
-rw-r--r--embed/mozilla/EphyUtils.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/embed/mozilla/EphyUtils.h b/embed/mozilla/EphyUtils.h
index a9357a3ba..e11280add 100644
--- a/embed/mozilla/EphyUtils.h
+++ b/embed/mozilla/EphyUtils.h
@@ -21,16 +21,22 @@
#ifndef EPHY_UTILS_H
#define EPHY_UTILS_H
-#include <nsError.h>
+// cannot include EphyUtils with internal strings!
+#ifdef MOZILLA_INTERNAL_API
+#error Cannot use EphyUtils with MOZILLA_INTERNAL_API
+#endif
+
+#include <nscore.h>
+
#include <gtk/gtkwidget.h>
-class nsAString;
class nsACString;
+class nsAString;
class nsIDOMWindow;
+class nsIFile;
class nsIIOService;
class nsIPrintSettings;
class nsIURI;
-class nsIFile;
struct _EmbedPrintInfo;
namespace EphyUtils