diff options
author | Timothy Pearson <[email protected]> | 2013-07-24 09:41:22 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-07-24 09:41:22 -0500 |
commit | ea3a9effca9bebfe18bfb7546da619ecbbb121f3 (patch) | |
tree | 54ceea8953098258666fe2459632470f5dc85c94 /src/lmsensor.h | |
parent | 191c434271e705161fbd01ed83b6d043a275bffc (diff) | |
download | ksensors-ea3a9effca9bebfe18bfb7546da619ecbbb121f3.tar.gz ksensors-ea3a9effca9bebfe18bfb7546da619ecbbb121f3.zip |
Apply build fixes
Diffstat (limited to 'src/lmsensor.h')
-rw-r--r-- | src/lmsensor.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lmsensor.h b/src/lmsensor.h index 704f2fe..87250e0 100644 --- a/src/lmsensor.h +++ b/src/lmsensor.h @@ -51,7 +51,11 @@ protected: double calculateIdealValue(); +#if SENSORS_API_VERSION < 0x400 /* libsensor 3 code */ bool init(const sensors_feature_data **data, int *nr1,int *nr2); +#else + bool init(const sensors_feature **data, int *nr1,int *nr2); +#endif const sensors_chip_name *getChipName(); private: |