about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libstore/derivations.hh2
-rw-r--r--src/libutil/aterm-map.hh3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/libstore/derivations.hh b/src/libstore/derivations.hh
index 3aa750962e79..042f4738d469 100644
--- a/src/libstore/derivations.hh
+++ b/src/libstore/derivations.hh
@@ -1,7 +1,7 @@
 #ifndef __DERIVATIONS_H
 #define __DERIVATIONS_H
 
-typedef struct _ATerm * ATerm;
+#include <aterm1.h>
 
 #include "hash.hh"
 
diff --git a/src/libutil/aterm-map.hh b/src/libutil/aterm-map.hh
index db36da377a79..b732453a7600 100644
--- a/src/libutil/aterm-map.hh
+++ b/src/libutil/aterm-map.hh
@@ -1,8 +1,7 @@
 #ifndef __ATERM_MAP_H
 #define __ATERM_MAP_H
 
-typedef struct _ATerm * ATerm;
-
+#include <aterm1.h>
 #include <assert.h>