* Sone missing #includes.

This commit is contained in:
Eelco Dolstra 2006-09-05 08:54:48 +00:00
parent bafc1690fc
commit fc195519b5
3 changed files with 3 additions and 1 deletions

View file

@ -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";

View file

@ -1,6 +1,7 @@
#include "nixexpr.hh"
#include "derivations.hh"
#include "util.hh"
#include "aterm.hh"
#include "nixexpr-ast.hh"
#include "nixexpr-ast.cc"

View file

@ -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)