mirror of
https://github.com/akheron/jansson.git
synced 2025-04-05 21:45:04 +00:00
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
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue