Skip to content

Commit

Permalink
Fix build with unreleased leptonica 1.83
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
p12tic committed Sep 20, 2022
1 parent 3559ff7 commit 8c6189c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/textord/devanagari_processing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
#include "tordmain.h"

#include <allheaders.h>
#if LIBLEPT_MINOR_VERSION > 82
#include "pix_internal.h"
#endif

namespace tesseract {

Expand Down

0 comments on commit 8c6189c

Please sign in to comment.