fix(omemo): add missing includes for libomemo-c builds

Signed-off-by: Leon Adomaitis <leon@adomaitis.de>
This commit is contained in:
Leon Adomaitis
2026-03-27 02:18:55 +01:00
parent 88b80c33ef
commit 9a501e6ecd
3 changed files with 14 additions and 3 deletions

View File

@@ -6,10 +6,14 @@
*
* SPDX-License-Identifier: GPL-3.0-or-later WITH OpenSSL-exception
*/
#include <signal/signal_protocol.h>
#include "config.h"
#ifdef HAVE_LIBOMEMO_C
#include <omemo/signal_protocol.h>
#else
#include <signal/signal_protocol.h>
#endif
#define OMEMO_STORE_GROUP_IDENTITY "identity"
#define OMEMO_STORE_GROUP_PREKEYS "prekeys"
#define OMEMO_STORE_GROUP_SIGNED_PREKEYS "signed_prekeys"