From 417532e9def7d5568ec9804a65078f2b42707a4a Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 17 Feb 2009 12:07:03 +0000 Subject: Made the --with-db=no configure option actually compile without the db (even without an installed libpqxx). --- server/src/pracrodaopgsql.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'server/src/pracrodaopgsql.h') 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 + +#ifndef WITHOUT_DB + #include "pracrodao.h" #include @@ -45,4 +49,6 @@ private: pqxx::connection *conn; }; +#endif/*WITHOUT_DB*/ + #endif/*__PRACRO_PRACRODAOPGSQL_H__*/ -- cgit v1.2.3