aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/desktop-file/plugin.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/desktop-file/plugin.cpp b/plugins/desktop-file/plugin.cpp
index 1df363282..dac2201a1 100644
--- a/plugins/desktop-file/plugin.cpp
+++ b/plugins/desktop-file/plugin.cpp
@@ -34,7 +34,13 @@
#include "ephy-stock-icons.h"
+#ifdef HAVE_GECKO_1_9_1
+#include <npfunctions.h>
+#include <npapi.h>
+#else
#include <npupp.h>
+#endif
+
#include <nsCOMPtr.h>
#include <nsIDOMWindow.h>
#include "../../embed/mozilla/EphyUtils.h"