Skip to content

Commit 81fbd87

Browse files
committed
Add more missing include statements for Windows build
Signed-off-by: Stefan Weil <[email protected]>
1 parent ab009fa commit 81fbd87

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/api/altorenderer.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515

1616
#include <memory>
1717
#include <sstream> // for std::stringstream
18+
#ifdef _WIN32
19+
# include <windows.h> // MultiByteToWideChar, ...
20+
#endif
1821
#include "baseapi.h"
1922
#include "renderer.h"
2023

src/api/hocrrenderer.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
#include <locale> // for std::locale::classic
2121
#include <memory> // for std::unique_ptr
2222
#include <sstream> // for std::stringstream
23+
#ifdef _WIN32
24+
# include <windows.h> // MultiByteToWideChar, ...
25+
#endif
2326
#include "baseapi.h" // for TessBaseAPI
2427
#include "renderer.h"
2528
#include "tesseractclass.h" // for Tesseract

0 commit comments

Comments
 (0)