about summary refs log tree commit diff
path: root/src/nix-env/profiles.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix-env/profiles.hh')
-rw-r--r--src/nix-env/profiles.hh8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/nix-env/profiles.hh b/src/nix-env/profiles.hh
index dc27d1c83d..2bd05045ea 100644
--- a/src/nix-env/profiles.hh
+++ b/src/nix-env/profiles.hh
@@ -1,9 +1,10 @@
 #ifndef __PROFILES_H
 #define __PROFILES_H
 
-#include <string>
+#include "types.hh"
 
-#include "util.hh"
+
+namespace nix {
 
 
 struct Generation
@@ -35,4 +36,7 @@ void deleteGeneration(const Path & profile, unsigned int gen);
 void switchLink(Path link, Path target);
 
 
+}
+
+
 #endif /* !__PROFILES_H */