Browse Source

jsoncpp: Include C headers since we use APIs without std::

Brad King 10 years ago
parent
commit
7eba04fda1

+ 3 - 3
Utilities/cmjsoncpp/src/lib_json/json_reader.cpp

@@ -10,9 +10,9 @@
 #include "json_tool.h"
 #include "json_tool.h"
 #endif // if !defined(JSON_IS_AMALGAMATION)
 #endif // if !defined(JSON_IS_AMALGAMATION)
 #include <utility>
 #include <utility>
-#include <cstdio>
-#include <cassert>
-#include <cstring>
+#include <stdio.h>
+#include <assert.h>
+#include <string.h>
 #include <istream>
 #include <istream>
 
 
 #if defined(_MSC_VER) && _MSC_VER < 1500 // VC++ 8.0 and below
 #if defined(_MSC_VER) && _MSC_VER < 1500 // VC++ 8.0 and below

+ 2 - 2
Utilities/cmjsoncpp/src/lib_json/json_value.cpp

@@ -14,8 +14,8 @@
 #include <math.h>
 #include <math.h>
 #include <sstream>
 #include <sstream>
 #include <utility>
 #include <utility>
-#include <cstring>
-#include <cassert>
+#include <string.h>
+#include <assert.h>
 #ifdef JSON_USE_CPPTL
 #ifdef JSON_USE_CPPTL
 #include <cpptl/conststring.h>
 #include <cpptl/conststring.h>
 #endif
 #endif