From 7cf477952aeb448294d8984cf5183b4cef0f6d5d Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Tue, 10 Nov 2009 12:10:05 +0000 Subject: [PATCH] Fix compilation when Augeas is not present. It would complain that NEED_AUG macro was defined but not used. --- daemon/augeas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/augeas.c b/daemon/augeas.c index 3628219..b56012c 100644 --- a/daemon/augeas.c +++ b/daemon/augeas.c @@ -36,7 +36,6 @@ * considerably. */ static augeas *aug = NULL; -#endif #define NEED_AUG(errcode) \ do { \ @@ -46,6 +45,7 @@ static augeas *aug = NULL; } \ } \ while (0) +#endif /* We need to rewrite the root path so it is based at /sysroot. */ int -- 1.8.3.1