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:
parent
910a2f318b
commit
49d40f020b
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user