From: Richard Jones Date: Tue, 10 Nov 2009 12:10:05 +0000 (+0000) Subject: Fix compilation when Augeas is not present. X-Git-Tag: 1.0.78~13 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=7cf477952aeb448294d8984cf5183b4cef0f6d5d;p=libguestfs.git Fix compilation when Augeas is not present. It would complain that NEED_AUG macro was defined but not used. --- 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