add auto detection of installed rapidjson

This commit is contained in:
sehraf 2018-07-16 23:22:04 +02:00
parent 01d48256a4
commit 55e99ef0d1
No known key found for this signature in database
GPG key ID: DF09F6EAE356B2C6
4 changed files with 21 additions and 2 deletions

View file

@ -154,7 +154,11 @@
#include <string.h>
#include <iostream>
#include <string>
#ifdef HAS_RAPIDJSON
#include <rapidjson/document.h>
#else
#include <rapid_json/document.h>
#endif // HAS_RAPIDJSON
#include "retroshare/rsflags.h"
#include "serialiser/rsserial.h"