--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -186,6 +186,7 @@
   find_library(LIBMARISA NAMES marisa)
   if (LIBMARISA)
     message(STATUS "libmarisa found: ${LIBMARISA}")
+    include_directories(@TERMUX_PREFIX@/include)
   else()
     message(FATAL_ERROR "libmarisa not found.")
   endif()
