From aec0aca8858db85fe1c028f756718c8f467e2229 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 27 Feb 2020 07:54:45 +0100 Subject: [PATCH] imageinfo: avoid possible build error if version.h is not available --- src/gui/imageinfo.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/imageinfo.cpp b/src/gui/imageinfo.cpp index e0059b91b..d5b842995 100644 --- a/src/gui/imageinfo.cpp +++ b/src/gui/imageinfo.cpp @@ -42,7 +42,9 @@ #include #include #include +#ifdef VCS #include "version.h" +#endif #include #define LICENSEDIR DATADIR "/neutrino/license/" #define POLICY_DIR DATADIR "/neutrino/policy/"