summaryrefslogtreecommitdiffstats
path: root/tdecore/tdeglobal.cpp
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2014-10-07 01:00:47 +0200
committerSlávek Banko <slavek.banko@axis.cz>2014-10-07 01:34:09 +0200
commit84e3f9e06ba1b6a050e838ca55970f018e81b749 (patch)
treec0b5c29503c24bba5339eab5191a692ddbb674dc /tdecore/tdeglobal.cpp
parente255a8ca6387cc1f100beffe39f889328e8f2a41 (diff)
downloadtdelibs-84e3f9e06ba1b6a050e838ca55970f018e81b749.tar.gz
tdelibs-84e3f9e06ba1b6a050e838ca55970f018e81b749.zip
Allow conditional build of tdehwlib
Diffstat (limited to 'tdecore/tdeglobal.cpp')
-rw-r--r--tdecore/tdeglobal.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tdecore/tdeglobal.cpp b/tdecore/tdeglobal.cpp
index f8639d526..8ef5f59db 100644
--- a/tdecore/tdeglobal.cpp
+++ b/tdecore/tdeglobal.cpp
@@ -34,8 +34,10 @@
#include <tdelocale.h>
#include <kcharsets.h>
#include <kiconloader.h>
+#ifdef __TDE_HAVE_TDEHWLIB
#include <tdehardwaredevices.h>
#include <tdenetworkconnections.h>
+#endif
#include <kstandarddirs.h>
#include <kinstance.h>
#include "kstaticdeleter.h"
@@ -81,6 +83,7 @@ TDEIconLoader *TDEGlobal::iconLoader()
return _instance->iconLoader();
}
+#ifdef __TDE_HAVE_TDEHWLIB
TDEHardwareDevices *TDEGlobal::hardwareDevices()
{
MYASSERT(_instance);
@@ -94,6 +97,7 @@ TDEGlobalNetworkManager *TDEGlobal::networkManager()
return _instance->networkManager();
}
+#endif
TDEInstance *TDEGlobal::instance()
{