From 945d8218fbcab4e546213f420125bf521ff3306d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 16 Dec 2009 15:29:50 +0000 Subject: [PATCH] * Build correctly against newer ATerm releases. Fixes "error: 'union' tag used in naming 'struct _ATerm'". --- src/libstore/derivations.hh | 2 +- src/libutil/aterm-map.hh | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/libstore/derivations.hh b/src/libstore/derivations.hh index 3aa750962e..042f4738d4 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 #include "hash.hh" diff --git a/src/libutil/aterm-map.hh b/src/libutil/aterm-map.hh index db36da377a..b732453a76 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 #include