diff options
author | François Andriot <francois.andriot@free.fr> | 2019-12-04 20:04:40 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-12-04 20:04:40 +0100 |
commit | 82e214c84f333e6b22093ab8ff5afe53aa732cc8 (patch) | |
tree | 5133bf7ef90bedc51fe2cd83abc9cc4f3b08902f /tdecore | |
parent | 38b2b0be7840d868c21093a406ab98a646212de1 (diff) | |
download | tdelibs-82e214c84f333e6b22093ab8ff5afe53aa732cc8.tar.gz tdelibs-82e214c84f333e6b22093ab8ff5afe53aa732cc8.zip |
Fix FTBFS for build without tdehwlib.
Signed-off-by: François Andriot <francois.andriot@free.fr>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'tdecore')
-rw-r--r-- | tdecore/tdeglobal.h | 4 |
1 files changed, 4 insertions, 0 deletions
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. |