aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/store.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/store.hh')
-rw-r--r--src/libstore/store.hh10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/libstore/store.hh b/src/libstore/store.hh
index a170c69e7..7b18871e4 100644
--- a/src/libstore/store.hh
+++ b/src/libstore/store.hh
@@ -4,9 +4,12 @@
#include <string>
#include "hash.hh"
-#include "db.hh"
-using namespace std;
+
+namespace nix {
+
+
+class Transaction;
/* Nix store and database schema version. Version 1 (or 0) was Nix <=
@@ -168,5 +171,8 @@ void deleteFromStore(const Path & path, unsigned long long & bytesFreed);
void verifyStore(bool checkContents);
+
+}
+
#endif /* !__STORE_H */