From 107220694fe3387df4051dcd94ae6c9995cb45f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 18 Oct 2014 14:19:37 +0200 Subject: Allow contitional build with tdehwlib MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- drkonqi/backtrace.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drkonqi/backtrace.cpp') 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 #include #include +#ifdef __TDE_HAVE_TDEHWLIB #include +#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 -- cgit v1.2.1