summaryrefslogtreecommitdiffstats
path: root/Utilities/cmjsoncpp/src
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-01-15 16:16:03 (GMT)
committerBrad King <brad.king@kitware.com>2015-01-15 16:39:03 (GMT)
commit7eba04fda156f670f8c84f3d6a9d9b44a472a04a (patch)
tree39228b7571efb06dfd03a6e9e4eaa79aa34167be /Utilities/cmjsoncpp/src
parent06f41e986c25fc2fd68074fce314a55f5c1d003d (diff)
downloadCMake-7eba04fda156f670f8c84f3d6a9d9b44a472a04a.zip
CMake-7eba04fda156f670f8c84f3d6a9d9b44a472a04a.tar.gz
CMake-7eba04fda156f670f8c84f3d6a9d9b44a472a04a.tar.bz2
jsoncpp: Include C headers since we use APIs without std::
Diffstat (limited to 'Utilities/cmjsoncpp/src')
-rw-r--r--Utilities/cmjsoncpp/src/lib_json/json_reader.cpp6
-rw-r--r--Utilities/cmjsoncpp/src/lib_json/json_value.cpp4
2 files changed, 5 insertions, 5 deletions
diff --git a/Utilities/cmjsoncpp/src/lib_json/json_reader.cpp b/Utilities/cmjsoncpp/src/lib_json/json_reader.cpp
index c5111f8..41896a7 100644
--- a/Utilities/cmjsoncpp/src/lib_json/json_reader.cpp
+++ b/Utilities/cmjsoncpp/src/lib_json/json_reader.cpp
@@ -10,9 +10,9 @@
#include "json_tool.h"
#endif // if !defined(JSON_IS_AMALGAMATION)
#include <utility>
-#include <cstdio>
-#include <cassert>
-#include <cstring>
+#include <stdio.h>
+#include <assert.h>
+#include <string.h>
#include <istream>
#if defined(_MSC_VER) && _MSC_VER < 1500 // VC++ 8.0 and below
diff --git a/Utilities/cmjsoncpp/src/lib_json/json_value.cpp b/Utilities/cmjsoncpp/src/lib_json/json_value.cpp
index b73deac..8f46d3b 100644
--- a/Utilities/cmjsoncpp/src/lib_json/json_value.cpp
+++ b/Utilities/cmjsoncpp/src/lib_json/json_value.cpp
@@ -14,8 +14,8 @@
#include <math.h>
#include <sstream>
#include <utility>
-#include <cstring>
-#include <cassert>
+#include <string.h>
+#include <assert.h>
#ifdef JSON_USE_CPPTL
#include <cpptl/conststring.h>
#endif