From: scottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Date: Thu, 8 Jan 2009 21:18:31 +0000 (+0000)
Subject: Prepare for #inclusion in C++
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e78d098c83695a7d938e8378147c21e57cad9c4b;p=opensrf%2Fbjwebb.git

Prepare for #inclusion in C++


git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1602 9efc2488-bf62-4759-914b-345cdb29e865
---

diff --git a/include/opensrf/osrf_json_utils.h b/include/opensrf/osrf_json_utils.h
index 53faefa..5331574 100644
--- a/include/opensrf/osrf_json_utils.h
+++ b/include/opensrf/osrf_json_utils.h
@@ -16,6 +16,10 @@ GNU General Public License for more details.
 #ifndef OSRF_JSON_UTILS_H
 #define OSRF_JSON_UTILS_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* ----------------------------------------------------------------------- */
 /* Clients need not include this file.  These are internal utilities only	*/
 /* ----------------------------------------------------------------------- */
@@ -96,5 +100,9 @@ int _jsonParserHandleNumber( jsonParserContext* ctx );
 
 void _jsonInsertParserItem( jsonInternalParser* p, jsonObject* newo );
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif