forked from lix-project/lix
* Sone missing #includes.
This commit is contained in:
parent
bafc1690fc
commit
fc195519b5
|
@ -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";
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#include "nixexpr.hh"
|
||||
#include "derivations.hh"
|
||||
#include "util.hh"
|
||||
#include "aterm.hh"
|
||||
|
||||
#include "nixexpr-ast.hh"
|
||||
#include "nixexpr-ast.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)
|
||||
|
|
Loading…
Reference in a new issue