summaryrefslogtreecommitdiffstats
path: root/src/lmsensors.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 09:41:22 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 09:41:22 -0500
commitea3a9effca9bebfe18bfb7546da619ecbbb121f3 (patch)
tree54ceea8953098258666fe2459632470f5dc85c94 /src/lmsensors.h
parent191c434271e705161fbd01ed83b6d043a275bffc (diff)
downloadksensors-ea3a9effca9bebfe18bfb7546da619ecbbb121f3.tar.gz
ksensors-ea3a9effca9bebfe18bfb7546da619ecbbb121f3.zip
Apply build fixes
Diffstat (limited to 'src/lmsensors.h')
-rw-r--r--src/lmsensors.h4
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