diff options
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: |