--- src/js.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/js.h b/src/js.h index 1b383c6..d965be3 100644 --- a/src/js.h +++ b/src/js.h @@ -4,7 +4,8 @@ * can be combined to this file, jsdom.c and jsloc.c. * No other file need know about the javascript API, * and no other file should include jsapi.h. */ - +#ifndef _JS_H +#define _JS_H #include <jsapi.h> extern JSContext *jcx; /* javascript context */ @@ -18,4 +19,4 @@ JSString * our_JS_NewStringCopyZ(JSContext * cx, const char *s) ; char * our_JSEncodeString(JSString *str) ; const char * stringize(jsval v) ; void initLocationClass(void) ; - +#endif -- 1.8.5.2.297.g3e57c29
_______________________________________________ Edbrowse-dev mailing list [email protected] http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev
