diff options
author | Slávek Banko <[email protected]> | 2014-10-18 14:19:37 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2014-10-18 14:29:21 +0200 |
commit | 107220694fe3387df4051dcd94ae6c9995cb45f6 (patch) | |
tree | 4301e933aa91df778cdc97153f4e1bd4ba4e3114 /drkonqi/backtrace.cpp | |
parent | 69da674b30d246f4df152501b9312518cd900372 (diff) | |
download | tdebase-107220694fe3387df4051dcd94ae6c9995cb45f6.tar.gz tdebase-107220694fe3387df4051dcd94ae6c9995cb45f6.zip |
Allow contitional build with tdehwlib
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'drkonqi/backtrace.cpp')
-rw-r--r-- | drkonqi/backtrace.cpp | 4 |
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 |