From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ip6-localhost (8.3.3.3.0.d.e.f.f.f.2.d.4.2.2.0.5.9.a.d.8.a.b.f.0.b.8.0.1.0.0.2.ip6.arpa [IPv6:2001:8b0:fba8:da95:224:d2ff:fed0:3338]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 528DF77AD7 for ; Tue, 24 Dec 2013 07:39:02 -0800 (PST) Received: from adam by ip6-localhost with local (Exim 4.82) (envelope-from ) id 1VvU4O-0007yM-41; Tue, 24 Dec 2013 15:38:56 +0000 From: Adam Thompson To: edbrowse-dev@lists.the-brannons.com Date: Tue, 24 Dec 2013 15:38:28 +0000 Message-Id: <1387899508-30407-4-git-send-email-arthompson1990@gmail.com> X-Mailer: git-send-email 1.8.5.2.297.g3e57c29 In-Reply-To: <1387899508-30407-1-git-send-email-arthompson1990@gmail.com> References: <1387899508-30407-1-git-send-email-arthompson1990@gmail.com> Subject: [Edbrowse-dev] [PATCH 4/4] Add ifdef guard to js.h X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.17 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Dec 2013 15:39:02 -0000 --- 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 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