https://bugs.gentoo.org/981867 https://bugs.gentoo.org/981859 https://github.com/tesseract-ocr/tesseract/commit/c822b4f73d0a055f3588957c320b1acf06b69da5 From c822b4f73d0a055f3588957c320b1acf06b69da5 Mon Sep 17 00:00:00 2001 From: tachalorah Date: Mon, 3 Aug 2026 11:37:55 +0700 Subject: [PATCH] arch/simddetect.cpp: add missing for getenv() --- a/tesseract/src/arch/simddetect.cpp +++ b/tesseract/src/arch/simddetect.cpp @@ -18,6 +18,7 @@ #ifdef HAVE_CONFIG_H # include "config_auto.h" // for HAVE_AVX, ... #endif +#include // for getenv #include // for std::inner_product #include "dotproduct.h" #include "intsimdmatrix.h" // for IntSimdMatrix