diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-04-29 10:45:28 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-05-02 12:19:09 +0900 |
commit | 8b79083f967ee6de83a04c02a40d6c20d9a980d4 (patch) | |
tree | 82ccdc1150984858a5355e42508c760dd25c4d1a /kdesktop/lock/lockprocess.h | |
parent | dcce5a276f9d10310f4724d902dd883a933788ac (diff) | |
download | tdebase-8b79083f967ee6de83a04c02a40d6c20d9a980d4.tar.gz tdebase-8b79083f967ee6de83a04c02a40d6c20d9a980d4.zip |
Fixed FTBFS when building tdelibs/tdebase without tdehw.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kdesktop/lock/lockprocess.h')
-rw-r--r-- | kdesktop/lock/lockprocess.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/kdesktop/lock/lockprocess.h b/kdesktop/lock/lockprocess.h index 4dc2d8bab..ff017b0a1 100644 --- a/kdesktop/lock/lockprocess.h +++ b/kdesktop/lock/lockprocess.h @@ -10,13 +10,7 @@ #ifndef __LOCKENG_H__ #define __LOCKENG_H__ -#include <ksslcertificate.h> - -#include <tdehardwaredevices.h> -#include <tdecryptographiccarddevice.h> - #include <kgreeterplugin.h> - #include <kprocess.h> #include <kpixmap.h> #include <krootpixmap.h> @@ -35,6 +29,11 @@ class KLibrary; class KWinModule; class KSMModalDialog; class LockProcess; +#ifdef __TDE_HAVE_TDEHWLIB +class TDECryptographicCardDevice; +#else +#define TDECryptographicCardDevice void +#endif struct GreeterPluginHandle { KLibrary *library; |