From 8f5ddcfa8d098eb8b439d10a03ae46eb44c674ce Mon Sep 17 00:00:00 2001 From: Christopher Dunn Date: Mon, 11 May 2009 20:04:10 +0000 Subject: [PATCH] Added cstring for memcpy(), as suggested by sebastien.vincent@turnserver.org . This allows gcc-4 to compile. Removed doxygen from SConstruct, since it is now broken; I have been unable to get it to work with either scons 0.97 or scons 2.1; hopefully someone else can get that working again. --- SConstruct | 2 +- src/lib_json/json_reader.cpp | 5 +++-- src/lib_json/json_value.cpp | 5 +++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/SConstruct b/SConstruct index 9542696..2c216cc 100644 --- a/SConstruct +++ b/SConstruct @@ -250,6 +250,6 @@ env.Alias( 'src-dist', srcdist_cmd ) buildProjectInDirectory( 'src/jsontestrunner' ) buildProjectInDirectory( 'src/lib_json' ) -buildProjectInDirectory( 'doc' ) +#buildProjectInDirectory( 'doc' ) # THIS IS BROKEN. #print env.Dump() diff --git a/src/lib_json/json_reader.cpp b/src/lib_json/json_reader.cpp index 0ded777..9869686 100644 --- a/src/lib_json/json_reader.cpp +++ b/src/lib_json/json_reader.cpp @@ -1,8 +1,9 @@ #include #include #include -#include -#include +#include +#include +#include #include #include diff --git a/src/lib_json/json_value.cpp b/src/lib_json/json_value.cpp index a917772..734bf16 100644 --- a/src/lib_json/json_value.cpp +++ b/src/lib_json/json_value.cpp @@ -3,11 +3,12 @@ #include #include #include -#include "assert.h" +#include +#include #ifdef JSON_USE_CPPTL # include #endif -#include // size_t +#include // size_t #ifndef JSON_USE_SIMPLE_INTERNAL_ALLOCATOR # include "json_batchallocator.h" #endif // #ifndef JSON_USE_SIMPLE_INTERNAL_ALLOCATOR