summaryrefslogtreecommitdiffstats
path: root/src/rccdb4.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2005-07-14 21:02:01 +0000
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2005-07-14 21:02:01 +0000
commit4032f92867e5570f130e4175b3b4fb61240f9752 (patch)
tree4e56172ca9f3f586d85d912a487357d9fe3496ed /src/rccdb4.h
parent7a6b6a56dabe1e62a0fbc6222c090aa077bcadc7 (diff)
downloadlibrcc-4032f92867e5570f130e4175b3b4fb61240f9752.tar.gz
librcc-4032f92867e5570f130e4175b3b4fb61240f9752.tar.bz2
librcc-4032f92867e5570f130e4175b3b4fb61240f9752.tar.xz
librcc-4032f92867e5570f130e4175b3b4fb61240f9752.zip
0.1.0
Diffstat (limited to 'src/rccdb4.h')
-rw-r--r--src/rccdb4.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/rccdb4.h b/src/rccdb4.h
index 33457ef..1d5072b 100644
--- a/src/rccdb4.h
+++ b/src/rccdb4.h
@@ -1,12 +1,19 @@
#ifndef _RCC_DB4_H
#define _RCC_DB4_H
-#include <db.h>
+#include "../config.h"
+
+#ifdef HAVE_DB_H
+# include <db.h>
+#endif /* HAVE_DB_H */
+
#include "rccstring.h"
struct db4_context_t {
+#ifdef HAVE_DB_H
DB_ENV *dbe;
DB *db;
+#endif /* HAVE_DB_H */
rcc_db4_flags flags;
};