summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-06-29 18:26:08 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-06-29 18:33:33 +0200
commit59301244a25e29e0b3543b90a1a2dcff33faf48a (patch)
treef0c59f2994529f40189a4b3dc926cf3ff26d2d1a /lib
parentd7b04cfbc3b165ad4ff815b7661749a758163b04 (diff)
downloadtdevelop-59301244a25e29e0b3543b90a1a2dcff33faf48a.tar.gz
tdevelop-59301244a25e29e0b3543b90a1a2dcff33faf48a.zip
Improve berkeley db detection
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit e073bebe73e323022db9b62771f4027d1d9479b6)
Diffstat (limited to 'lib')
-rw-r--r--lib/catalog/catalog.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/catalog/catalog.cpp b/lib/catalog/catalog.cpp
index 1422a624..f86dd88d 100644
--- a/lib/catalog/catalog.cpp
+++ b/lib/catalog/catalog.cpp
@@ -25,13 +25,17 @@
#include <krandomsequence.h>
#include <kdebug.h>
-
#include <cstring>
#include <cstdlib>
-#include <db.h>
#include <config.h>
+#ifdef USE_DB_H_PATH
+#include USE_DB_H_PATH
+#else
+#include <db.h>
+#endif
+
struct _Catalog_Private
{
TQString dbName;