diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-08-30T11·12+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-08-30T11·12+0200 |
commit | 92d917b71a4862356bbf2a0302308235016a8e50 (patch) | |
tree | 7a2c6be4e49b597881ffbdf950050e6330a5bb65 /src | |
parent | 86169d2114fdb8c551bdd5e653e464f4e400edf6 (diff) |
Fix GC build
Diffstat (limited to 'src')
-rw-r--r-- | src/libexpr/eval.hh | 4 | ||||
-rw-r--r-- | src/libexpr/value.hh | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index b7dab885f968..195cb0db3acc 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -8,10 +8,6 @@ #include <map> -#if HAVE_BOEHMGC -#include <gc/gc_allocator.h> -#endif - namespace nix { diff --git a/src/libexpr/value.hh b/src/libexpr/value.hh index 048522016c62..271e6a1b24a2 100644 --- a/src/libexpr/value.hh +++ b/src/libexpr/value.hh @@ -1,7 +1,12 @@ #pragma once +#include "config.h" #include "symbol-table.hh" +#if HAVE_BOEHMGC +#include <gc/gc_allocator.h> +#endif + namespace nix { |