diff --git a/src/lib_json/json_reader.cpp b/src/lib_json/json_reader.cpp index a2129be..1bcb2eb 100644 --- a/src/lib_json/json_reader.cpp +++ b/src/lib_json/json_reader.cpp @@ -18,7 +18,9 @@ #include #include #include - +#if defined(__BORLANDC__) +#include +#endif #if defined(_MSC_VER) #if !defined(WINCE) && defined(__STDC_SECURE_LIB__) && _MSC_VER >= 1500 // VC++ 9.0 and above #define snprintf sprintf_s diff --git a/src/lib_json/json_value.cpp b/src/lib_json/json_value.cpp index 018b9cd..44b5070 100644 --- a/src/lib_json/json_value.cpp +++ b/src/lib_json/json_value.cpp @@ -18,7 +18,9 @@ #endif #include // size_t #include // min() - +#if defined(__BORLANDC__) +#include +#endif #define JSON_ASSERT_UNREACHABLE assert(false) namespace Json { diff --git a/src/lib_json/json_writer.cpp b/src/lib_json/json_writer.cpp index ec4b486..3646df4 100644 --- a/src/lib_json/json_writer.cpp +++ b/src/lib_json/json_writer.cpp @@ -16,6 +16,9 @@ #include #include +#if defined(__BORLANDC__) +#include +#endif #if defined(_MSC_VER) && _MSC_VER >= 1200 && _MSC_VER < 1800 // Between VC++ 6.0 and VC++ 11.0 #include #define isfinite _finite