diff --git a/src/ccutil/tesserrstream.h b/src/ccutil/tesserrstream.h index 3452f35e99..80da99da0e 100644 --- a/src/ccutil/tesserrstream.h +++ b/src/ccutil/tesserrstream.h @@ -17,6 +17,7 @@ #define TESSERACT_CCUTIL_TESSERRSTREAM_H #include "tprintf.h" +#include // for TESS_API #include // for std::ostream @@ -60,7 +61,7 @@ class TessErrStream : public std::ostream { } }; -extern TessErrStream tesserr; +extern TESS_API TessErrStream tesserr; } // namespace tesseract