summaryrefslogtreecommitdiffstats
path: root/drkonqi
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 /drkonqi
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 'drkonqi')
-rw-r--r--drkonqi/backtrace.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/drkonqi/backtrace.cpp b/drkonqi/backtrace.cpp
index 2acd74df5..70bb35fa7 100644
--- a/drkonqi/backtrace.cpp
+++ b/drkonqi/backtrace.cpp
@@ -36,7 +36,9 @@
#include <tdemessagebox.h>
#include <tdelocale.h>
#include <tdetempfile.h>
+#ifdef __TDE_HAVE_TDEHWLIB
#include <tdehardwaredevices.h>
+#endif
#ifdef HAVE_ELFICON
// Elven things
@@ -356,6 +358,7 @@ void BackTrace::processBacktrace()
}
#endif // HAVE_ELFICON
+#ifdef __TDE_HAVE_TDEHWLIB
// Append potentially important hardware information
m_strBt.append("\n==== (tdehwlib) hardware information ====\n");
TDEHardwareDevices *hwdevices = TDEGlobal::hardwareDevices();
@@ -374,6 +377,7 @@ void BackTrace::processBacktrace()
m_strBt.append("\n");
}
}
+#endif
{
// Clean up hard to read debug blocks