summaryrefslogtreecommitdiffstats
path: root/daemon/augeas.c
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-11-10 12:10:05 +0000
committerRichard Jones <rjones@redhat.com>2009-11-10 16:32:20 +0000
commit7cf477952aeb448294d8984cf5183b4cef0f6d5d (patch)
tree14f25c7e0e8ac64eb0cebcb5555e196bb7d1daaf /daemon/augeas.c
parentb9de2dc61162bf7cb89560319aab5e96b920e8e0 (diff)
downloadlibguestfs-7cf477952aeb448294d8984cf5183b4cef0f6d5d.tar.gz
libguestfs-7cf477952aeb448294d8984cf5183b4cef0f6d5d.tar.xz
libguestfs-7cf477952aeb448294d8984cf5183b4cef0f6d5d.zip
Fix compilation when Augeas is not present.
It would complain that NEED_AUG macro was defined but not used.
Diffstat (limited to 'daemon/augeas.c')
-rw-r--r--daemon/augeas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/augeas.c b/daemon/augeas.c
index 3628219f..b56012cd 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