Commit 169ab5da for tesseract

commit 169ab5da47b89b42a4a4676e2cc8bd242cebb8f7
Author: zdenop <zdenop@gmail.com>
Date:   Wed Jul 29 15:40:55 2026 +0200

    fix build of training tool on windows with VS2022 (#4590)

    src\ccstruct\image.h(57,28): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int [build.msvc.Release\src\training\unicharset_training.vcxproj](compiling source file '../../../src/training/unicharset/lstmtester.cpp')

    src\ccstruct\image.h(57,43): error C2143: syntax error: missing ',' before '*' [build.msvc.Release\src\training\unicharset_training.vcxproj] (compiling source file '../../../src/training/unicharset/lstmtester.cpp')

    Co-authored-by: Stefan Weil <sw@weilnetz.de>

diff --git a/src/ccstruct/image.h b/src/ccstruct/image.h
index 8954461d..a9d861e1 100644
--- a/src/ccstruct/image.h
+++ b/src/ccstruct/image.h
@@ -16,6 +16,8 @@
 #ifndef TESSERACT_CCSTRUCT_IMAGE_H_
 #define TESSERACT_CCSTRUCT_IMAGE_H_

+#include <cstdint>
+
 #pragma GCC diagnostic push
 #pragma GCC diagnostic ignored "-Wold-style-cast"
 #include <allheaders.h> // Pix, from leptonica