Fix build with gcc 13 by including <cstdint>

gcc 13 moved some includes around and as a result <cstdint> is
no longer transitively included [1]. Explicitly include it for
int32_t.

[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2023-01-30 11:27:07 -08:00
parent a3b9acfa4a
commit 2025b53de6

View File

@ -21,6 +21,7 @@
#include <tesseract/export.h> // for TESS_API
#include <cstdint>
#include <cstdio>
#include <cstring>
#include <string>