about summary refs log tree commit diff
path: root/src/libutil
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/libutil
parent2382a729e07ae09abb278cc28b137b9c4060101e (diff)
* Remove unnecessary inclusions of aterm2.h.
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/aterm-map.cc2
-rw-r--r--src/libutil/aterm-map.hh3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/libutil/aterm-map.cc b/src/libutil/aterm-map.cc
index 6c53e07c4605..c31fcdba3966 100644
--- a/src/libutil/aterm-map.cc
+++ b/src/libutil/aterm-map.cc
@@ -5,6 +5,8 @@
 #include <assert.h>
 #include <stdlib.h>
 
+#include <aterm2.h>
+
 
 namespace nix {
 
diff --git a/src/libutil/aterm-map.hh b/src/libutil/aterm-map.hh
index 293df1eb596a..3035b6ec5598 100644
--- a/src/libutil/aterm-map.hh
+++ b/src/libutil/aterm-map.hh
@@ -1,7 +1,8 @@
 #ifndef __ATERM_MAP_H
 #define __ATERM_MAP_H
 
-#include <aterm2.h>
+typedef struct _ATerm * ATerm;
+
 #include <assert.h>