summaryrefslogtreecommitdiffstats
path: root/tdecore/tdeglobal.cpp
diff options
context:
space:
mode:
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()
{