From 82e214c84f333e6b22093ab8ff5afe53aa732cc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Wed, 4 Dec 2019 20:04:40 +0100 Subject: Fix FTBFS for build without tdehwlib. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: François Andriot Signed-off-by: Slávek Banko --- tdecore/tdeglobal.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tdecore') diff --git a/tdecore/tdeglobal.h b/tdecore/tdeglobal.h index b5fddb834..1269c36a9 100644 --- a/tdecore/tdeglobal.h +++ b/tdecore/tdeglobal.h @@ -25,8 +25,10 @@ class KCharsets; class TDEConfig; class TDESharedConfig; class TDEIconLoader; +#ifdef __TDE_HAVE_TDEHWLIB class TDEHardwareDevices; class TDEGlobalNetworkManager; +#endif class TDELocale; class TDEStandardDirs; class KStaticDeleterBase; @@ -79,6 +81,7 @@ public: */ static TDEIconLoader *iconLoader(); +#ifdef __TDE_HAVE_TDEHWLIB /** * Returns a TDEHardwareDevices object. * @return the global hardware devices object @@ -90,6 +93,7 @@ public: * @return the global network manager object */ static TDEGlobalNetworkManager *networkManager(); +#endif /** * Returns the global locale object. -- cgit v1.2.1