aboutsummaryrefslogtreecommitdiffstats
path: root/src/gtkhtml2/web_gtkhtml2_js.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtkhtml2/web_gtkhtml2_js.h')
-rw-r--r--src/gtkhtml2/web_gtkhtml2_js.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gtkhtml2/web_gtkhtml2_js.h b/src/gtkhtml2/web_gtkhtml2_js.h
index c3179c0..73316df 100644
--- a/src/gtkhtml2/web_gtkhtml2_js.h
+++ b/src/gtkhtml2/web_gtkhtml2_js.h
@@ -7,6 +7,8 @@
#define XP_UNIX
#ifdef LIBJS_IS_SMJS
#include <js/jsapi.h>
+#elif LIBJS_IS_MOZJS
+#include <mozjs/jsapi.h>
#else
#include <smjs/jsapi.h>
#endif