From 49d40f020b471f693fdd179729faa8be916f7114 Mon Sep 17 00:00:00 2001 From: Petri Lehtinen Date: Thu, 4 Feb 2010 20:50:01 +0200 Subject: [PATCH] C++: #include in jansson.hpp This is to avoid standard C functions ending up in namespace json, as jansson.h is #included in there, and jansson.h in turn #includes stdio.h. --- src/jansson.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/jansson.hpp b/src/jansson.hpp index 51c1763..f435493 100644 --- a/src/jansson.hpp +++ b/src/jansson.hpp @@ -11,6 +11,11 @@ #include #include #include + +// Included so that standard functions don't end up in namespace json +#include + +// For free() #include namespace json { -- 2.1.4