From 129adcc2299179ce48814ac00a0d6bf4f54ab2ba Mon Sep 17 00:00:00 2001 From: beard Date: Tue, 23 Jun 1998 01:59:26 +0000 Subject: [PATCH] Added prosdep.h to get strdup prototype. Corrected JSJ_InitJSContext to match its prototype. --- js/ref/liveconnect/jsj.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/ref/liveconnect/jsj.c b/js/ref/liveconnect/jsj.c index 6dfda36be027..045cdd23c25d 100644 --- a/js/ref/liveconnect/jsj.c +++ b/js/ref/liveconnect/jsj.c @@ -30,6 +30,7 @@ #include "prtypes.h" #include "prassert.h" #include "prprintf.h" +#include "prosdep.h" #include "jsj_private.h" /* LiveConnect internals */ #include "jsjava.h" /* LiveConnect external API */ @@ -398,6 +399,7 @@ JSJ_Init(JSJCallbacks *callbacks) * and, more importantly, will avoid unnecessary network accesses if classes * are being loaded over the network.) */ +JSBool JSJ_InitJSContext(JSContext *cx, JSObject *global_obj, JavaPackageDef *predefined_packages) {