From: Petri Lehtinen Date: Thu, 4 Feb 2010 18:50:01 +0000 (+0200) Subject: C++: #include in jansson.hpp X-Git-Tag: 1.0_branch~171^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=49d40f020b471f693fdd179729faa8be916f7114;p=profile%2Fivi%2Fjansson.git 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. --- 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 {