From 49e6e062b8effe281a85de167c16c5f039b74442 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Gst=C3=A4dtner?= Date: Tue, 5 Mar 2013 01:30:51 +0100 Subject: add pkgconfig support for json-c this includes a fallback for legacy support --- jshn.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'jshn.c') diff --git a/jshn.c b/jshn.c index 9cbdb31..781861d 100644 --- a/jshn.c +++ b/jshn.c @@ -13,7 +13,12 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include +#ifdef JSONC + #include +#else + #include +#endif + #include #include #include -- cgit v1.2.3