about summary refs log tree commit diff
path: root/src/libutil
diff options
context:
space:
mode:
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>