Ticket #3866: lmsensor.diff

File lmsensor.diff, 656 bytes (added by maverik044, 17 years ago)
  • programs/mythbackend/httpstatus.cpp

    old new  
    2424#include <math.h>
    2525
    2626#include "../../config.h"
    27 #ifdef HAVE_LMSENSORS
     27#ifdef CONFIG_LMSENSORS
    2828    #define LMSENSOR_DEFAULT_CONFIG_FILE "/etc/sensors.conf"
    2929    #include <sensors/sensors.h>
    3030    #include <sensors/chips.h>
    void HttpStatus::FillStatusXML( QDomDocu 
    405405        acpiTempFile.close();
    406406    }                                                 
    407407
    408 #ifdef HAVE_LMSENSORS
     408#ifdef CONFIG_LMSENSORS
    409409    m_settingLock.lock();
    410410
    411411    if (!found_acpi)