summaryrefslogtreecommitdiffstats
path: root/kcontrol/displayconfig/displayconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/displayconfig/displayconfig.h')
-rw-r--r--kcontrol/displayconfig/displayconfig.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/kcontrol/displayconfig/displayconfig.h b/kcontrol/displayconfig/displayconfig.h
index a52ebb3fc..92fa1f421 100644
--- a/kcontrol/displayconfig/displayconfig.h
+++ b/kcontrol/displayconfig/displayconfig.h
@@ -35,7 +35,11 @@
#include <dcopobject.h>
#include <libtderandr/libtderandr.h>
+#ifdef __TDE_HAVE_TDEHWLIB
#include <tdehardwaredevices.h>
+#else
+#define TDEGenericDevice void
+#endif
#include "monitorworkspace.h"
#include "displayconfigbase.h"