Fixed include path.

This commit is contained in:
tastytea 2019-04-16 17:55:49 +02:00
parent a86cd8eaa0
commit 8db37998fc
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 6 additions and 1 deletions

View File

@ -21,7 +21,12 @@
#include <vector>
#include <ostream>
#include <cstdint>
#include "mastodon-cpp.hpp"
// If we are compiling mastodon-cpp, use another include path
#ifdef MASTODON_CPP
#include "mastodon-cpp.hpp"
#else
#include <mastodon-cpp/mastodon-cpp.hpp>
#endif
using std::string;
using std::vector;