diff --git a/core/src/Content.cpp b/core/src/Content.cpp index a211c2eff5..d0f2e80a16 100644 --- a/core/src/Content.cpp +++ b/core/src/Content.cpp @@ -10,9 +10,12 @@ #include "HRI.h" #include "TextDecoder.h" #include "Utf.h" -#include "Version.h" #include "ZXAlgorithms.h" +#if !defined(ZXING_READERS) && !defined(ZXING_WRITERS) +#include "Version.h" +#endif + #include namespace ZXing {