* Sone missing #includes.
This commit is contained in:
parent
bafc1690fc
commit
fc195519b5
|
@ -40,6 +40,7 @@ my $initFun = "init";
|
||||||
open HEADER, ">$ARGV[0]";
|
open HEADER, ">$ARGV[0]";
|
||||||
open IMPL, ">$ARGV[1]";
|
open IMPL, ">$ARGV[1]";
|
||||||
|
|
||||||
|
print HEADER "#include <aterm2.h>\n";
|
||||||
print HEADER "#ifdef __cplusplus\n";
|
print HEADER "#ifdef __cplusplus\n";
|
||||||
print HEADER "namespace nix {\n";
|
print HEADER "namespace nix {\n";
|
||||||
print HEADER "#endif\n\n\n";
|
print HEADER "#endif\n\n\n";
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#include "nixexpr.hh"
|
#include "nixexpr.hh"
|
||||||
#include "derivations.hh"
|
#include "derivations.hh"
|
||||||
#include "util.hh"
|
#include "util.hh"
|
||||||
|
#include "aterm.hh"
|
||||||
|
|
||||||
#include "nixexpr-ast.hh"
|
#include "nixexpr-ast.hh"
|
||||||
#include "nixexpr-ast.cc"
|
#include "nixexpr-ast.cc"
|
||||||
|
|
|
@ -503,7 +503,7 @@ struct PrintFreed
|
||||||
bool show, dryRun;
|
bool show, dryRun;
|
||||||
unsigned long long bytesFreed;
|
unsigned long long bytesFreed;
|
||||||
PrintFreed(bool show, bool dryRun)
|
PrintFreed(bool show, bool dryRun)
|
||||||
: bytesFreed(0), show(show), dryRun(dryRun) { }
|
: show(show), dryRun(dryRun), bytesFreed(0) { }
|
||||||
~PrintFreed()
|
~PrintFreed()
|
||||||
{
|
{
|
||||||
if (show)
|
if (show)
|
||||||
|
|
Loading…
Reference in a new issue