about summary refs log tree commit diff
path: root/src/libstore/db.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-03-01T17·44+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-03-01T17·44+0000
commit74166f2f44a9d2de6dc7862a99e9c2f2bcc9b54b (patch)
treee86f73468d659b814034db218447f7fe86fc8788 /src/libstore/db.hh
parent1bdceb421fe0082213e012362c1ac6a47ee6e4bb (diff)
* db.hh shouldn't depend on the Berkeley DB headers.
Diffstat (limited to 'src/libstore/db.hh')
-rw-r--r--src/libstore/db.hh8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/libstore/db.hh b/src/libstore/db.hh
index dd7d76b8cebb..0315728de597 100644
--- a/src/libstore/db.hh
+++ b/src/libstore/db.hh
@@ -5,13 +5,17 @@
 #include <list>
 #include <map>
 
-#include <db_cxx.h>
-
 #include "util.hh"
 
 using namespace std;
 
 
+/* Defined externally. */
+class DbTxn;
+class DbEnv;
+class Db;
+
+
 class Database;