C++: #include <cstdio> 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.
This commit is contained in:
Petri Lehtinen 2010-02-04 20:50:01 +02:00
parent 910a2f318b
commit 49d40f020b

View File

@ -11,6 +11,11 @@
#include <ostream>
#include <istream>
#include <sstream>
// Included so that standard functions don't end up in namespace json
#include <cstdio>
// For free()
#include <cstdlib>
namespace json {