From a4cb18ba078ebc7bdfb68a85588a15fbc7e9d1cf Mon Sep 17 00:00:00 2001 From: Alexandre Paillier Date: Tue, 5 Dec 2023 17:21:09 +0100 Subject: [PATCH] Fix ledger_assert compatibility with DISABLE_UI --- src/ledger_assert.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ledger_assert.c b/src/ledger_assert.c index baea1f46f..d39b76811 100644 --- a/src/ledger_assert.c +++ b/src/ledger_assert.c @@ -18,7 +18,9 @@ #include "ledger_assert.h" #include "os.h" +#if defined(HAVE_BAGL) || defined(HAVE_NBGL) #include "ux.h" +#endif #include "os_io_seproxyhal.h" #ifdef HAVE_NBGL