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/names.hh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/nix-env/names.hh') diff --git a/src/nix-env/names.hh b/src/nix-env/names.hh index aeb923546fd8..e189302d6d94 100644 --- a/src/nix-env/names.hh +++ b/src/nix-env/names.hh @@ -1,10 +1,10 @@ #ifndef __NAMES_H #define __NAMES_H -#include -#include +#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 */ -- cgit 1.4.1