Allow including installed jsonrpcpp from a system directory

This commit is contained in:
Jörg Krause 2017-03-15 11:28:26 +01:00 committed by badaix
parent c4e38b60b0
commit f28018ada7
6 changed files with 30 additions and 2 deletions

View file

@ -16,12 +16,17 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
***/
#ifdef HAS_JSONRPCPP
#include <jsonrpcpp/jsonrp.hpp>
#else
#include "jsonrp.hpp"
#endif
#include "controlServer.h"
#include "message/time.h"
#include "aixlog.hpp"
#include "common/utils.h"
#include "common/snapException.h"
#include "jsonrp.hpp"
#include "config.h"
#include <iostream>