at 17.09-beta 2.0 kB view raw
1diff -ru couch_js/http.c couch_js-patched/http.c 2--- apache-couchdb-2.0.0/src/couch/priv/couch_js/http.c 2016-09-12 11:28:51.000000000 +0200 3+++ apache-couchdb-2.0.0-patched/src/couch/priv/couch_js/http.c 2017-02-10 10:52:33.025854045 +0100 4@@ -15,7 +15,7 @@ 5 #include <string.h> 6 #include <sys/types.h> 7 #include <sys/stat.h> 8-#include <jsapi.h> 9+#include <js/jsapi.h> 10 #include "config.h" 11 #include "utf8.h" 12 #include "util.h" 13diff -ru couch_js/main.c couch_js-patched/main.c 14--- apache-couchdb-2.0.0/src/couch/priv/couch_js/main.c 2016-09-12 11:28:51.000000000 +0200 15+++ apache-couchdb-2.0.0-patched/src/couch/priv/couch_js/main.c 2017-02-10 10:52:33.001854154 +0100 16@@ -20,7 +20,7 @@ 17 #include <unistd.h> 18 #endif 19 20-#include <jsapi.h> 21+#include <js/jsapi.h> 22 #include "config.h" 23 #include "http.h" 24 #include "utf8.h" 25diff -ru couch_js/utf8.c couch_js-patched/utf8.c 26--- apache-couchdb-2.0.0/src/couch/priv/couch_js/utf8.c 2016-09-12 11:28:51.000000000 +0200 27+++ apache-couchdb-2.0.0-patched/src/couch/priv/couch_js/utf8.c 2017-02-10 10:52:33.009854117 +0100 28@@ -10,7 +10,7 @@ 29 // License for the specific language governing permissions and limitations under 30 // the License. 31 32-#include <jsapi.h> 33+#include <js/jsapi.h> 34 #include "config.h" 35 36 static int 37diff -ru couch_js/util.c couch_js-patched/util.c 38--- apache-couchdb-2.0.0/src/couch/priv/couch_js/util.c 2016-09-12 11:28:51.000000000 +0200 39+++ apache-couchdb-2.0.0-patched/src/couch/priv/couch_js/util.c 2017-02-10 10:52:33.017854081 +0100 40@@ -13,7 +13,7 @@ 41 #include <stdlib.h> 42 #include <string.h> 43 44-#include <jsapi.h> 45+#include <js/jsapi.h> 46 47 #include "help.h" 48 #include "util.h" 49diff -ru couch_js/util.h couch_js-patched/util.h 50--- apache-couchdb-2.0.0/src/couch/priv/couch_js/util.h 2016-09-12 11:28:51.000000000 +0200 51+++ apache-couchdb-2.0.0-patched/src/couch/priv/couch_js/util.h 2017-02-10 10:52:32.988854212 +0100 52@@ -13,7 +13,7 @@ 53 #ifndef COUCHJS_UTIL_H 54 #define COUCHJS_UTIL_H 55 56-#include <jsapi.h> 57+#include <js/jsapi.h> 58 59 typedef struct { 60 int no_eval;