summaryrefslogtreecommitdiff
path: root/server/src/pracrodaopgsql.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/pracrodaopgsql.h')
-rw-r--r--server/src/pracrodaopgsql.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/src/pracrodaopgsql.h b/server/src/pracrodaopgsql.h
index 7218a19..90498e9 100644
--- a/server/src/pracrodaopgsql.h
+++ b/server/src/pracrodaopgsql.h
@@ -28,6 +28,10 @@
#ifndef __PRACRO_PRACRODAOPGSQL_H__
#define __PRACRO_PRACRODAOPGSQL_H__
+#include <config.h>
+
+#ifndef WITHOUT_DB
+
#include "pracrodao.h"
#include <pqxx/pqxx>
@@ -45,4 +49,6 @@ private:
pqxx::connection *conn;
};
+#endif/*WITHOUT_DB*/
+
#endif/*__PRACRO_PRACRODAOPGSQL_H__*/