summaryrefslogtreecommitdiffstats
path: root/kcontrol/randr/tderandrtray.h
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/randr/tderandrtray.h')
-rw-r--r--kcontrol/randr/tderandrtray.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/kcontrol/randr/tderandrtray.h b/kcontrol/randr/tderandrtray.h
index 09a1b2671..8f382922f 100644
--- a/kcontrol/randr/tderandrtray.h
+++ b/kcontrol/randr/tderandrtray.h
@@ -25,7 +25,11 @@
#include <kglobalaccel.h>
#include <libtderandr/libtderandr.h>
+#ifdef __TDE_HAVE_TDEHWLIB
#include <tdehardwaredevices.h>
+#else
+#define TDEGenericDevice void
+#endif
class KHelpMenu;
class TDEPopupMenu;