From bb2dc0a4e9434a8eff1feaac136c573c04148189 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Wed, 28 Mar 2012 19:06:01 +0100 Subject: fish: Fix compilation when libconfig is not available. (cherry picked from commit 5ea27d740eb9a7a2fe666dd9ffa70114c0c42756) --- fish/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fish/config.c b/fish/config.c index 66d28104..6c75969a 100644 --- a/fish/config.c +++ b/fish/config.c @@ -30,11 +30,11 @@ #include "options.h" +#ifdef HAVE_LIBCONFIG + static const char *home_filename = /* $HOME/ */ ".libguestfs-tools.rc"; static const char *etc_filename = "/etc/libguestfs-tools.conf"; -#ifdef HAVE_LIBCONFIG - /* Note that parse_config is called very early, before command line * parsing and before the verbose flag has been set. */ -- cgit