Skip to content

Commit 1eba029

Browse files
committed
Fix build with unreleased leptonica 1.83
leptonica moved most of their type definitions to internal headers. Long term usages of internal API should be removed, but for now simply include the internal header to allow tesseract to be built.
1 parent 3559ff7 commit 1eba029

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/textord/devanagari_processing.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
#include "tordmain.h"
2929

3030
#include <allheaders.h>
31+
#if (LIBLEPT_MAJOR_VERSION == 1 && LIBLEPT_MINOR_VERSION >= 83) || LIBLEPT_MAJOR_VERSION > 1
32+
#include "pix_internal.h"
33+
#endif
3134

3235
namespace tesseract {
3336

0 commit comments

Comments
 (0)