diff options
Diffstat (limited to 'CPUMeter.c')
-rw-r--r-- | CPUMeter.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -79,7 +79,7 @@ static void CPUMeter_updateValues(Meter* this, char* buffer, int size) { } } - #ifdef HAVE_LIBSENSORS + #ifdef HAVE_SENSORS_SENSORS_H if (this->pl->settings->showCPUTemperature) { double cpuTemperature = this->values[CPU_METER_TEMPERATURE]; if (isnan(cpuTemperature)) @@ -150,7 +150,7 @@ static void CPUMeter_display(const Object* cast, RichString* out) { } } - #ifdef HAVE_LIBSENSORS + #ifdef HAVE_SENSORS_SENSORS_H if (this->pl->settings->showCPUTemperature) { char cpuTemperatureBuffer[10]; double cpuTemperature = this->values[CPU_METER_TEMPERATURE]; |