From 75068e7d753cf6cbe45a4bf294000dca9bd41d8b Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 4 Sep 2006 21:06:23 +0000 Subject: * Use a proper namespace. * Optimise header file usage a bit. * Compile the parser as C++. --- src/nix-env/profiles.hh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/nix-env/profiles.hh') diff --git a/src/nix-env/profiles.hh b/src/nix-env/profiles.hh index dc27d1c83de8..2bd05045eafb 100644 --- a/src/nix-env/profiles.hh +++ b/src/nix-env/profiles.hh @@ -1,9 +1,10 @@ #ifndef __PROFILES_H #define __PROFILES_H -#include +#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 */ -- cgit 1.4.1