summaryrefslogtreecommitdiffstats
path: root/tdm/kfrontend/kgapp.h
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2014-10-18 14:19:37 +0200
committerSlávek Banko <[email protected]>2014-10-18 14:29:21 +0200
commit107220694fe3387df4051dcd94ae6c9995cb45f6 (patch)
tree4301e933aa91df778cdc97153f4e1bd4ba4e3114 /tdm/kfrontend/kgapp.h
parent69da674b30d246f4df152501b9312518cd900372 (diff)
downloadtdebase-107220694fe3387df4051dcd94ae6c9995cb45f6.tar.gz
tdebase-107220694fe3387df4051dcd94ae6c9995cb45f6.zip
Allow contitional build with tdehwlib
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'tdm/kfrontend/kgapp.h')
-rw-r--r--tdm/kfrontend/kgapp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tdm/kfrontend/kgapp.h b/tdm/kfrontend/kgapp.h
index 6150b4f5d..c9e2802c1 100644
--- a/tdm/kfrontend/kgapp.h
+++ b/tdm/kfrontend/kgapp.h
@@ -27,7 +27,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#define KGAPP_H
#include <tdeapplication.h>
+#ifdef __TDE_HAVE_TDEHWLIB
#include <tdehardwaredevices.h>
+#else
+#define TDEGenericDevice void
+#endif
class GreeterApp : public TDEApplication {
Q_OBJECT