aboutsummaryrefslogtreecommitdiff
path: root/lib/olm/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/olm/utils.h')
-rw-r--r--lib/olm/utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/olm/utils.h b/lib/olm/utils.h
index ec0da784..85d4605b 100644
--- a/lib/olm/utils.h
+++ b/lib/olm/utils.h
@@ -3,6 +3,7 @@
// SPDX-License-Identifier: LGPL-2.1-or-later
#pragma once
+#ifdef Quotient_E2EE_ENABLED
#include "olm/e2ee.h"
@@ -11,3 +12,4 @@ namespace Quotient {
QByteArray toKey(const PicklingMode &mode);
QByteArray getRandom(size_t bufferSize);
}
+#endif