From: Jean-Philippe Orsini Date: Tue, 16 Sep 2014 07:07:28 +0000 (+0200) Subject: fct not exist if udisks2 support not enabled. X-Git-Tag: v1.1.2~78 X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=commitdiff_plain;h=632c94e114ac5a4e8e16ba248c147a0c83454b25 fct not exist if udisks2 support not enabled. --- diff --git a/src/main.c b/src/main.c index 65549fb..ab5627a 100644 --- a/src/main.c +++ b/src/main.c @@ -466,7 +466,9 @@ static struct psensor **create_sensors_list(const char *url, #ifdef HAVE_GTOP sensors = cpu_psensor_list_add(sensors, 600); #endif +#ifdef HAVE_LIBUDISKS2 udisks2_psensor_list_add(&sensors, 600); +#endif } associate_preferences(sensors);