summaryrefslogtreecommitdiffstats
path: root/kmail/kmkernel.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2015-06-14 04:00:26 +0200
committerSlávek Banko <slavek.banko@axis.cz>2015-06-14 04:02:36 +0200
commit3c3dfdfd7ffbd59bc1f089d6f57b179889f57ac8 (patch)
treeff4e428c4f585eb46ebd96ca9ff525df8691e4f0 /kmail/kmkernel.h
parentf0e4495b65a3f5c97f11313480929bd4fd40ed03 (diff)
downloadtdepim-3c3dfdfd7ffbd59bc1f089d6f57b179889f57ac8.tar.gz
tdepim-3c3dfdfd7ffbd59bc1f089d6f57b179889f57ac8.zip
Fix FTBFS when build without tdehw-lib
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit c0e6e0eddc721f28a273c15688db0c6f46ed78e1)
Diffstat (limited to 'kmail/kmkernel.h')
-rw-r--r--kmail/kmkernel.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/kmail/kmkernel.h b/kmail/kmkernel.h
index 0dc46441e..610ab4768 100644
--- a/kmail/kmkernel.h
+++ b/kmail/kmkernel.h
@@ -9,12 +9,20 @@
#include <weaver.h>
#include <weaverlogger.h>
+#include <kdemacros.h>
#include <tdeconfig.h>
#include <tdeversion.h>
#include <tdeimproxy.h>
#include <tdepimmacros.h>
-#include <tdenetworkconnections.h>
+#ifdef __TDE_HAVE_TDEHWLIB
+# include <tdenetworkconnections.h>
+#else
+namespace TDENetworkConnectionStatus {
+ enum TDENetworkConnectionStatus {
+ };
+}
+#endif
#include "kmailIface.h"
#include "kmmsgbase.h"
@@ -527,7 +535,9 @@ private:
TQString mAddMessageLastFolder;
KMFolder *mAddMsgCurrentFolder;
+#ifdef __TDE_HAVE_TDEHWLIB
TDEGlobalNetworkManager *mNetworkManager;
+#endif
};
#endif