summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/sources/batterysrc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sources/batterysrc.h b/src/sources/batterysrc.h
index a61883c..bcd805f 100644
--- a/src/sources/batterysrc.h
+++ b/src/sources/batterysrc.h
@@ -26,7 +26,12 @@
#include <tqstring.h>
#include <list>
+#ifdef __TDE_HAVE_TDEHWLIB
class TDEHardwareDevices;
+#else
+#define TDEHardwareDevices void
+#endif
+
/**
* BatterySrc fetches the state of charge of the battery from HAL
* @author Ken Werner