summaryrefslogtreecommitdiff
path: root/src/database
diff options
context:
space:
mode:
Diffstat (limited to 'src/database')
-rw-r--r--src/database/database.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/database/database.cpp b/src/database/database.cpp
index e16465c..8d09788 100644
--- a/src/database/database.cpp
+++ b/src/database/database.cpp
@@ -1,3 +1,6 @@
+#include "biboumi.h"
+#ifdef USE_DATABASE
+
#include <database/database.hpp>
#include <config/config.hpp>
#include <utils/xdg.hpp>
@@ -52,3 +55,5 @@ void Database::close()
{
Database::db.reset(nullptr);
}
+
+#endif