From 13fe60f537c78661f62386b3bec202cbb42364fe Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Mon, 3 Dec 2018 15:35:35 +0100 Subject: [PATCH] mainbar: fix build without libsigrokdecode We must not include decodesignal.hpp if we're not using libsigrokdecode or the build will fail due to libsigrokdecode.hpp not being present in the system. Signed-off-by: Bartosz Golaszewski --- pv/toolbars/mainbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pv/toolbars/mainbar.cpp b/pv/toolbars/mainbar.cpp index df1363d..e517ff7 100644 --- a/pv/toolbars/mainbar.cpp +++ b/pv/toolbars/mainbar.cpp @@ -35,7 +35,6 @@ #include -#include #include #include #include @@ -52,6 +51,7 @@ #include #ifdef ENABLE_DECODE #include +#include #endif #include -- 2.30.2