Correctly include the database header

This commit is contained in:
louiz’
2018-01-28 14:20:21 +01:00
parent 442f46c4ac
commit 7403c397ed
+1 -1
View File
@@ -4,6 +4,7 @@
#include <logger/logger.hpp> #include <logger/logger.hpp>
#include <xmpp/xmpp_component.hpp> #include <xmpp/xmpp_component.hpp>
#include <database/database.hpp>
#include <config/config.hpp> #include <config/config.hpp>
#include <utils/system.hpp> #include <utils/system.hpp>
#include <utils/time.hpp> #include <utils/time.hpp>
@@ -22,7 +23,6 @@
#include <biboumi.h> #include <biboumi.h>
#ifdef SYSTEMD_FOUND #ifdef SYSTEMD_FOUND
# include <systemd/sd-daemon.h> # include <systemd/sd-daemon.h>
#include <database/database.hpp>
#endif #endif
using namespace std::string_literals; using namespace std::string_literals;