about summary refs log tree commit diff
path: root/src/nix-env/names.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix-env/names.hh')
-rw-r--r--src/nix-env/names.hh9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/nix-env/names.hh b/src/nix-env/names.hh
index aeb923546f..e189302d6d 100644
--- a/src/nix-env/names.hh
+++ b/src/nix-env/names.hh
@@ -1,10 +1,10 @@
 #ifndef __NAMES_H
 #define __NAMES_H
 
-#include <string>
-#include <list>
+#include "types.hh"
 
-#include "util.hh"
+
+namespace nix {
 
 
 struct DrvName
@@ -27,4 +27,7 @@ int compareVersions(const string & v1, const string & v2);
 DrvNames drvNamesFromArgs(const Strings & opArgs);
 
 
+}
+
+
 #endif /* !__NAMES_H */