From 8db37998fc75c17f8405700b2eda289d2631f9d8 Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 16 Apr 2019 17:55:49 +0200 Subject: [PATCH] Fixed include path. --- src/easy/return_types_easy.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/easy/return_types_easy.hpp b/src/easy/return_types_easy.hpp index 8477ec0..3ce5c6f 100644 --- a/src/easy/return_types_easy.hpp +++ b/src/easy/return_types_easy.hpp @@ -21,7 +21,12 @@ #include #include #include -#include "mastodon-cpp.hpp" +// If we are compiling mastodon-cpp, use another include path +#ifdef MASTODON_CPP + #include "mastodon-cpp.hpp" +#else + #include +#endif using std::string; using std::vector;