From 18d088c479290c573d8e9105c024d714b86e31d7 Mon Sep 17 00:00:00 2001 From: arch1t3cht Date: Fri, 24 Nov 2023 20:53:07 +0100 Subject: [PATCH] Fix hunspell include and wrap --- src/spellchecker_hunspell.cpp | 2 +- subprojects/packagefiles/hunspell/meson.build | 2 -- subprojects/packagefiles/hunspell/src/hunspell/meson.build | 2 ++ 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/spellchecker_hunspell.cpp b/src/spellchecker_hunspell.cpp index 64c3d9284..fcb45c1d5 100644 --- a/src/spellchecker_hunspell.cpp +++ b/src/spellchecker_hunspell.cpp @@ -30,7 +30,7 @@ #include #undef near -#include +#include HunspellSpellChecker::HunspellSpellChecker() : lang_listener(OPT_SUB("Tool/Spell Checker/Language", &HunspellSpellChecker::OnLanguageChanged, this)) diff --git a/subprojects/packagefiles/hunspell/meson.build b/subprojects/packagefiles/hunspell/meson.build index e0ad04e9f..5df100963 100644 --- a/subprojects/packagefiles/hunspell/meson.build +++ b/subprojects/packagefiles/hunspell/meson.build @@ -2,8 +2,6 @@ project('Hunspell', 'cpp', version: '1.7.0', meson_version: '>=0.57.0') subdir('src/hunspell') -inc = include_directories('src') - hunspell_dep = declare_dependency(link_with: hunspell, include_directories: inc, compile_args: compile_args) diff --git a/subprojects/packagefiles/hunspell/src/hunspell/meson.build b/subprojects/packagefiles/hunspell/src/hunspell/meson.build index d15f0c2d9..25c5ac3ed 100644 --- a/subprojects/packagefiles/hunspell/src/hunspell/meson.build +++ b/subprojects/packagefiles/hunspell/src/hunspell/meson.build @@ -21,3 +21,5 @@ endif hunspell = library('hunspell', hunspell_sources, cpp_args: cpp_args + compile_args) + +inc = include_directories('.') \ No newline at end of file