diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-09-05 08:54:48 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-09-05 08:54:48 +0000 |
commit | fc195519b5dfbb8e7901cf6672fb4af36df9b350 (patch) | |
tree | dd70f6e53903b5f1432d96c903bb40eb5c233a15 /src | |
parent | bafc1690fc4a2a2c3ff81ff1c1a677f208d3b1b7 (diff) | |
download | guix-fc195519b5dfbb8e7901cf6672fb4af36df9b350.tar.gz |
* Sone missing #includes.
Diffstat (limited to 'src')
-rwxr-xr-x | src/aterm-helper.pl | 1 | ||||
-rw-r--r-- | src/libexpr/nixexpr.cc | 1 | ||||
-rw-r--r-- | src/nix-store/main.cc | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/src/aterm-helper.pl b/src/aterm-helper.pl index 54eb33abda..5b7b33691d 100755 --- a/src/aterm-helper.pl +++ b/src/aterm-helper.pl @@ -40,6 +40,7 @@ my $initFun = "init"; open HEADER, ">$ARGV[0]"; open IMPL, ">$ARGV[1]"; +print HEADER "#include <aterm2.h>\n"; print HEADER "#ifdef __cplusplus\n"; print HEADER "namespace nix {\n"; print HEADER "#endif\n\n\n"; diff --git a/src/libexpr/nixexpr.cc b/src/libexpr/nixexpr.cc index b7ccb656cf..9622a03285 100644 --- a/src/libexpr/nixexpr.cc +++ b/src/libexpr/nixexpr.cc @@ -1,6 +1,7 @@ #include "nixexpr.hh" #include "derivations.hh" #include "util.hh" +#include "aterm.hh" #include "nixexpr-ast.hh" #include "nixexpr-ast.cc" diff --git a/src/nix-store/main.cc b/src/nix-store/main.cc index 616cb83106..42c3074ff4 100644 --- a/src/nix-store/main.cc +++ b/src/nix-store/main.cc @@ -503,7 +503,7 @@ struct PrintFreed bool show, dryRun; unsigned long long bytesFreed; PrintFreed(bool show, bool dryRun) - : bytesFreed(0), show(show), dryRun(dryRun) { } + : show(show), dryRun(dryRun), bytesFreed(0) { } ~PrintFreed() { if (show) |