From 897752b61a622dca67b10519e989d986f460ce14 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 7 Sep 2015 12:51:19 -0500 Subject: Fix FTBFS when cryptsetup support disabled --- tdecore/tdehw/tdestoragedevice.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tdecore/tdehw') diff --git a/tdecore/tdehw/tdestoragedevice.cpp b/tdecore/tdehw/tdestoragedevice.cpp index cdf004fb4..618a29c1b 100644 --- a/tdecore/tdehw/tdestoragedevice.cpp +++ b/tdecore/tdehw/tdestoragedevice.cpp @@ -97,6 +97,7 @@ TDEDiskDeviceType::TDEDiskDeviceType TDEStorageDevice::diskType() { } void TDEStorageDevice::internalGetLUKSKeySlotStatus() { +#if defined(WITH_CRYPTSETUP) unsigned int i; crypt_keyslot_info keyslot_status; TDELUKSKeySlotStatus::TDELUKSKeySlotStatus tde_keyslot_status; @@ -116,6 +117,7 @@ void TDEStorageDevice::internalGetLUKSKeySlotStatus() { } m_cryptKeyslotStatus.append(tde_keyslot_status); } +#endif } void TDEStorageDevice::internalInitializeLUKSIfNeeded() { -- cgit v1.2.1