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;