diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-07-24 09:41:22 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-07-24 09:41:22 -0500 |
commit | ea3a9effca9bebfe18bfb7546da619ecbbb121f3 (patch) | |
tree | 54ceea8953098258666fe2459632470f5dc85c94 /src/lmsensors.h | |
parent | 191c434271e705161fbd01ed83b6d043a275bffc (diff) | |
download | ksensors-ea3a9effca9bebfe18bfb7546da619ecbbb121f3.tar.gz ksensors-ea3a9effca9bebfe18bfb7546da619ecbbb121f3.zip |
Apply build fixes
Diffstat (limited to 'src/lmsensors.h')
-rw-r--r-- | src/lmsensors.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lmsensors.h b/src/lmsensors.h index c6fb1e7..50c20ea 100644 --- a/src/lmsensors.h +++ b/src/lmsensors.h @@ -19,7 +19,7 @@ #define LMSENSORS_H #include <qobject.h> -#include <qobjcoll.h> +#include <qobjectlist.h> #include <kconfig.h> #include <qstringlist.h> @@ -65,7 +65,9 @@ private: void createI8KSensors(); void childEvent ( QChildEvent *e ); +#if SENSORS_API_VERSION < 0x400 /* libsensor 3 code */ static int existSensor(const sensors_chip_name *chip_name,const char *sensor_name); +#endif }; #endif |