summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Chimento <philip.chimento@gmail.com>2017-03-19 04:48:56 +0000
committerPhilip Chimento <philip.chimento@gmail.com>2017-05-05 23:26:30 -0700
commit9a7db679053d7050ae139b5dcb449d484052049e (patch)
tree870f84cabbfb39342fc8f20351b88eb06283aeba
parentecbaa2f43160125e1b31f912be5c799349f7cbe1 (diff)
downloadgjs-9a7db679053d7050ae139b5dcb449d484052049e.tar.gz
build: Build with mozj45
Changes necessary to header and pkgconfig file names.
-rw-r--r--configure.ac2
-rw-r--r--gjs/runtime.cpp4
2 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 31f2df1d..282b9305 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,7 +59,7 @@ GOBJECT_INTROSPECTION_REQUIRE([1.41.4])
GOBJECT_REQUIREMENT="gobject-2.0 >= glib_required_version"
gjs_base_packages="$GOBJECT_REQUIREMENT gio-2.0"
-common_packages="gthread-2.0 gio-2.0 >= glib_required_version mozjs-38"
+common_packages="gthread-2.0 gio-2.0 >= glib_required_version mozjs-45"
gjs_packages="gobject-introspection-1.0 libffi $common_packages"
gjs_cairo_packages="cairo cairo-gobject $common_packages"
gjs_gtk_packages="gtk+-3.0 >= 3.20"
diff --git a/gjs/runtime.cpp b/gjs/runtime.cpp
index 5a81638f..fda19cb8 100644
--- a/gjs/runtime.cpp
+++ b/gjs/runtime.cpp
@@ -23,8 +23,10 @@
#include <config.h>
-#include "jsapi-util.h"
#include "jsapi-wrapper.h"
+#include <js/Initialization.h>
+
+#include "jsapi-util.h"
#include "runtime.h"
#ifdef G_OS_WIN32