about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-09-04T22·08+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-09-04T22·08+0000
commit4be5443882cfbe7c2aa09b1c373c220400a5133f (patch)
tree1ca05b183b746d6243fa378f719410447e2584aa /src/libstore
parent2382a729e07ae09abb278cc28b137b9c4060101e (diff)
* Remove unnecessary inclusions of aterm2.h.
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 {