fct not exist if udisks2 support not enabled.
authorJean-Philippe Orsini <jeanfi@gmail.com>
Tue, 16 Sep 2014 07:07:28 +0000 (09:07 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Tue, 16 Sep 2014 07:07:28 +0000 (09:07 +0200)
src/main.c

index 65549fb..ab5627a 100644 (file)
@@ -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);