From ea3a9effca9bebfe18bfb7546da619ecbbb121f3 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 24 Jul 2013 09:41:22 -0500 Subject: Apply build fixes --- src/lmsensors.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lmsensors.h') 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 -#include +#include #include #include @@ -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 -- cgit v1.2.1