diff --git a/modules/text/src/precomp.hpp b/modules/text/src/precomp.hpp index 94f05d8cc..7ccda150f 100644 --- a/modules/text/src/precomp.hpp +++ b/modules/text/src/precomp.hpp @@ -48,6 +48,9 @@ #include "text_config.hpp" #ifdef HAVE_TESSERACT +#if !defined(USE_STD_NAMESPACE) +#define USE_STD_NAMESPACE +#endif #include #include #endif