about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/derivations.cc1
-rw-r--r--src/libstore/derivations.hh3
-rw-r--r--src/libstore/misc.cc2
3 files changed, 5 insertions, 1 deletions
diff --git a/src/libstore/derivations.cc b/src/libstore/derivations.cc
index d6291cd45ac3..61b3ea89c049 100644
--- a/src/libstore/derivations.cc
+++ b/src/libstore/derivations.cc
@@ -1,5 +1,6 @@
 #include "derivations.hh"
 #include "store.hh"
+#include "aterm.hh"
 
 #include "derivations-ast.hh"
 #include "derivations-ast.cc"
diff --git a/src/libstore/derivations.hh b/src/libstore/derivations.hh
index d1c9db50849f..3aa750962e79 100644
--- a/src/libstore/derivations.hh
+++ b/src/libstore/derivations.hh
@@ -1,7 +1,8 @@
 #ifndef __DERIVATIONS_H
 #define __DERIVATIONS_H
 
-#include "aterm.hh"
+typedef struct _ATerm * ATerm;
+
 #include "hash.hh"
 
 #include <map>
diff --git a/src/libstore/misc.cc b/src/libstore/misc.cc
index 156d059b6f30..bcede901c5ae 100644
--- a/src/libstore/misc.cc
+++ b/src/libstore/misc.cc
@@ -3,6 +3,8 @@
 #include "build.hh"
 #include "db.hh"
 
+#include <aterm2.h>
+
 
 namespace nix {