diff --git a/src/api/baseapi.cpp b/src/api/baseapi.cpp index e98331b7..fe0040a8 100644 --- a/src/api/baseapi.cpp +++ b/src/api/baseapi.cpp @@ -29,9 +29,7 @@ #include "dict.h" // for Dict #include "elst.h" // for ELIST_ITERATOR, ELISTIZE, ELISTIZEH #include "environ.h" // for l_uint8 -#ifndef DISABLED_LEGACY_ENGINE -# include "equationdetect.h" // for EquationDetect -#endif +#include "equationdetect.h" // for EquationDetect, destructor of equ_detect_ #include "errcode.h" // for ASSERT_HOST #include "helpers.h" // for IntCastRounded, chomp_string #include "host.h" // for MAX_PATH diff --git a/src/tesseract.cpp b/src/tesseract.cpp index fbbddb87..0f702414 100644 --- a/src/tesseract.cpp +++ b/src/tesseract.cpp @@ -25,6 +25,7 @@ #if defined(__USE_GNU) # include // for feenableexcept #endif +#include // for INT_MIN, INT_MAX #include // for std::getenv #include #include // for std::map