From 632c94e114ac5a4e8e16ba248c147a0c83454b25 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Orsini Date: Tue, 16 Sep 2014 09:07:28 +0200 Subject: [PATCH] fct not exist if udisks2 support not enabled. --- src/main.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.7.4